This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Native build fails in winsup/cygwin/libc/ because of strtou?l_l()

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/ fails to build:

hbbro@NB4 ~/prg/cygwin/bld/x86_64-unknown-cygwin/winsup/cygwin
$ make
c++wrap -O2 -g -fno-rtti -fno-exceptions -fno-use-cxa-atexit -Wall -Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin -fmessage-length=0 -MMD -Werror -fmerge-constants -ftracer -mcmodel=small -c -o strptime.o ../../../../newlib-cygwin/winsup/cygwin/libc/ ../../../../newlib-cygwin/winsup/cygwin/libc/ In function 'era_info_t* get_era_info(const char*, locale_t)': ../../../../newlib-cygwin/winsup/cygwin/libc/ error: 'strtol_l' was not declared in this scope
       ei[cur].offset = strtol_l (era, &c, 10, locale);
../../../../newlib-cygwin/winsup/cygwin/libc/ In function 'char* __strptime(const char*, const char*, tm*, era_info_t**, alt_digits_t**, locale_t)': ../../../../newlib-cygwin/winsup/cygwin/libc/ error: 'strtoul_l' was not declared in this scope
      width = strtoul_l (fmt - 1, &end, 10, locale);
make: *** [../../../../newlib-cygwin/winsup/cygwin/../Makefile.common:41: strptime.o] Fehler 1

Looking at the .ii file, it appears __GNU_VISIBLE is not active for this C++ source file?

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]