------- Comment #10 from paolo dot carlini at oracle dot com 2010-02-18 10:12 ------- In short, I see two conceptually separate issues: 1- We run the configure tests for those functions in GNU mode, thus if on a target an header doesn't declare some functions in ISO strict mode, the user experiences puzzling errors, like in Comment #1; 2- Specific to MingW (and Cygwin too?!?), those C99 names do not correspond to functions implementing the actual C99 semantics, arguably should indeed not be exposed in strict ISO mode.
Thus, my doubt is: should we actually run those configure tests in strict ISO mode, instead of GNU mode? For Linux would not make a difference, and would avoid puzzling errors like those experienced by MingW users. However, I'm afraid some users, on other systems, could be disappointed in finding fewer functions declared in the C++ headers (in namespace std) in GNU mode (which is the default!) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40278