[Bug c++/70217] Cygwin 2.4.1 x86_64/GCC 5.3.0 can no longer compile a program with std=c++03

2016-03-13 Thread noloader at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70217

--- Comment #5 from Jeffrey Walton  ---
(In reply to Jonathan Wakely from comment #3)
> dup of PR 70176 ?
> 
> My guess is Cygwin uses a new version of newlib which has stricter C headers
> that don't define the C99 functions for __cplusplus < 201103L &&
> __STRICT_ANSI__

Is there anything I can do to help? Do you need a bug report filed against
newlib?

[Bug c++/70217] Cygwin 2.4.1 x86_64/GCC 5.3.0 can no longer compile a program with std=c++03

2016-03-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70217

--- Comment #4 from Jonathan Wakely  ---
We can probably do something in os_defines.h like:

#if __cplusplus < 201103L && __STRICT_ANSI__
#undef _GLIBCXX_USE_C99_STDIO
// etc.
#endif

[Bug c++/70217] Cygwin 2.4.1 x86_64/GCC 5.3.0 can no longer compile a program with std=c++03

2016-03-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70217

--- Comment #3 from Jonathan Wakely  ---
dup of PR 70176 ?

My guess is Cygwin uses a new version of newlib which has stricter C headers
that don't define the C99 functions for __cplusplus < 201103L &&
__STRICT_ANSI__

[Bug c++/70217] Cygwin 2.4.1 x86_64/GCC 5.3.0 can no longer compile a program with std=c++03

2016-03-13 Thread noloader at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70217

--- Comment #2 from Jeffrey Walton  ---
Cygwin bug https://sourceware.org/bugzilla/show_bug.cgi?id=19817.

[Bug c++/70217] Cygwin 2.4.1 x86_64/GCC 5.3.0 can no longer compile a program with std=c++03

2016-03-13 Thread noloader at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70217

--- Comment #1 from Jeffrey Walton  ---
Cygwin bug https://sourceware.org/bugzilla/show_bug.cgi?id=19817.