[PATCH] math.h and fixincludes
Vladimir Prus
vladimir@codesourcery.com
Thu Oct 26 16:04:00 GMT 2006
Hello,
at the moment, gcc's fixincludes tool tries to fix math.h because it sees
that 'exception' name is used and thinks that it's not C++-safe. In fact,
newlib's math.h has appropriate __cplusplus checks, but fixincludes is not
smart enough to recognize that.
This patch fixes the situation by adding a comment to math.h that is specially
recognized by fixincludes. OK?
- Volodya
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: math.diff
Type: text/x-diff
Size: 575 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20061026/dc9e8f70/attachment.bin>
More information about the Newlib
mailing list