Am 24.08.2016 um 10:28 schrieb Corinna Vinschen:
On Aug 24 00:19, Hans-Bernhard Bröker wrote:
Hello everyone,
building the git version of cygwin natively on Cygwin-2.5.3, I'm running
into a problem with strtoul_l / strtol_l. winsup/cygwin/libc/strptime.cc
fails to build:
[...]
Looking at the .ii file, it appears __GNU_VISIBLE is not active for this C++
source file?
Yes, we discussed this already yesterday on the Freenode #cygwin-developers
IRC channel. The reason is that sys/cdefs.h is included before winsup.h
is included, the latter defining _GNU_SOURCE.
Ah, yes. That would do it. The build does indeed work now, with the
fix in git. Thanks.
[...]
That's pretty weird since _GNU_SOURCE is not supposed to be defined
by the compiler or C preprocessor at all.
Well, it could be the specs file "contributing" it...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple