[Bug c++/34032] -std=c++0x causes undeclared symbols errors on cygwin

2007-11-08 Thread dannysmith at users dot sourceforge dot net
--- Comment #3 from dannysmith at users dot sourceforge dot net 2007-11-08 19:18 --- The newlib stdio.h puts [v]snprintf declarations within a #ifndef __STRICT_ANSI__ block. Likewise for cygwin's ctype.h and isblank -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34032

[Bug c++/34032] -std=c++0x causes undeclared symbols errors on cygwin

2007-11-08 Thread eric dot niebler at gmail dot com
--- Comment #2 from eric dot niebler at gmail dot com 2007-11-08 19:16 --- I didn't know about -std=gnu++0x. That seems to work. -std=c++0x doesn't. FWIW, the stock gcc that comes with cygwin is 3.4: $ g++ --version g++ (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) Copyrigh

[Bug c++/34032] -std=c++0x causes undeclared symbols errors on cygwin

2007-11-08 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2007-11-08 18:56 --- Note that the library has autoconf tests for those C99 functions, which, however, are run with the default C++98 compiler. Now I'm confused by this __STRICT_ANSI__ thing on cygwin, does it mean that with -std=gnu++0x things