From 884dc68fe0898f667da1a8b59c79c43702b44066 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Wed, 25 Oct 2006 18:46:40 +0000 Subject: 2006-10-25 Vladimir Prus * libc/include/math.h: (exception): Add a comment telling fixincludes that we handle C vs. C++ issue. --- newlib/libc/include/math.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'newlib/libc/include/math.h') 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 -- cgit v1.2.3