Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2006-10-25 22:46:40 +0400
committerJeff Johnston <jjohnstn@redhat.com>2006-10-25 22:46:40 +0400
commit884dc68fe0898f667da1a8b59c79c43702b44066 (patch)
tree20f152e5405438cc458fb79061edd28bbe0b6171
parentddb2c9e81c18ef48e6c0f20f151ab7fa5dade14c (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/ChangeLog5
-rw-r--r--newlib/libc/include/math.h3
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