From: SourceForge.net <no...@so...> - 2003-01-04 17:59:02
|
Bugs item #645866, was opened at 2002-11-29 17:01 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=645866&group_id=2435 Category: MinGW Group: None >Status: Pending >Resolution: Later Priority: 5 Submitted By: Tobias Peters (t-peters) Assigned to: Earnie Boyd (earnie) Summary: #ifdef problem Initial Comment: When defining the preprocessor symbol __NO_ISOCEXT, the including the header file <cmath> from a c++ file does not work any more. Errors are: cmath:99: `::acosf' undeclared (first use here) ... (The -D__NO_ISOCEXT is added to my compiler command line by the Makefile generator for Ruby extensions -- I don't know why it is added. If you tell me that this is no MinGW error, I will ask there.) ---------------------------------------------------------------------- Comment By: Danny Smith (dannysmith) Date: 2002-11-29 19:19 Message: Logged In: YES user_id=11494 IMO, the real fix for this is to change libstdcc+ implementation of C forwarding headers (cmath, cstdlib, etc) to use the cheaders=C model, rather than the current cheaders = c-std, so that mingw can control namespaces in its own C headers. This is almost ready in mingw-std-ns-branch of CVS. In meantime, we could either (1) -D__NO_ISOCEXT when building libstdc++ (and accept reduced functionality) or (2) always expose the ISOCEXT declarations when __GLIBCPP__ defined Danny ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=645866&group_id=2435 |