Hi hackers, Another small patch for Windows. This one fixes a symbol visibility problem when building CHICKEN on Cygwin (64-bit), where the following currently occurs:
./chicken-boot-stage1.exe posixunix.scm -optimize-level 2 -include-path . -include-path ./ -inline -ignore-repository -feature chicken-bootstrap -no-warnings -specialize -types ./types.db -explicit-use -no-trace -output-file posixunix.c gcc -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -c -Os -fomit-frame-pointer -DC_BUILDING_LIBCHICKEN posixunix.c -o posixunix-static.o -I. -I./ posixunix.c: In function `stub1783': posixunix.c:401:10: warning: implicit declaration of function `strptime' [-Wimplicit-function-declaration] (strptime(C_c_string(s), C_c_string(f), ((struct tm *)(stm))) ? C_tm_get((v), (stm)) : C_SCHEME_FALSE) ^ posixunix.c:840:14: note: in expansion of macro `C_strptime' C_r=((C_word)C_strptime(t0,t1,t2,t3)); ^ After some reading, defining _XOPEN_SOURCE seems to be the correct thing to do in general, as well. Cheers, Evan _______________________________________________ Chicken-hackers mailing list Chicken-hackers@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-hackers