diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2006-10-25 22:46:40 +0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2006-10-25 22:46:40 +0400 |
commit | 884dc68fe0898f667da1a8b59c79c43702b44066 (patch) | |
tree | 20f152e5405438cc458fb79061edd28bbe0b6171 | |
parent | ddb2c9e81c18ef48e6c0f20f151ab7fa5dade14c (diff) |
2006-10-25 Vladimir Prus <vladimir@codesourcery.com>
* libc/include/math.h: (exception): Add a comment
telling fixincludes that we handle C vs. C++ issue.
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/include/math.h | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 24d96d9e4..2de8fcba4 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2006-10-25 Vladimir Prus <vladimir@codesourcery.com> + + * libc/include/math.h: (exception): Add a comment + telling fixincludes that we handle C vs. C++ issue. + 2006-10-11 Yang Tse <yangsita@gmail.com> * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h index 2e1533ad8..11b1a1845 100644 --- a/newlib/libc/include/math.h +++ b/newlib/libc/include/math.h @@ -336,7 +336,8 @@ extern int *__signgam _PARAMS((void)); #define __signgam_r(ptr) _REENT_SIGNGAM(ptr) /* The exception structure passed to the matherr routine. */ - +/* We have a problem when using C++ since `exception' is a reserved + name in C++. */ #ifdef __cplusplus struct __exception #else |