This is the mail archive of the
mailing list for the Cygwin project.
Re: Native build fails in winsup/cygwin/libc/strptime.cc because of strtou?l_l()
Am 24.08.2016 um 10:28 schrieb Corinna Vinschen:
On Aug 24 00:19, Hans-Bernhard Bröker wrote:
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++
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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple