>> I'm getting this on OS X: >> --- >> /Developer/usr/bin/clang -I. -I../../../../../include -fno-common -O3 >> -DHB_LEGACY_TYPES_OFF -DHB_HAS_ZLIB -I/usr/include -o ioapi.o -c >> ../../../ioapi.c >> ../../../ioapi.c:122:14: warning: incompatible integer to pointer conversion >> assigning 'int', expected 'FILE *' >> file = fopen64((const char*)filename, mode_fopen); >> ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> 1 diagnostic generated. >> --- >> fopen64() seems to be missing on OS X. What is the best way to fix this? > > Please enable warnings in CLANG builds. > It's hard to guess what exactly is missing and why and which > builds/platforms/C compilers are affected. > Maybe also GCC binaries are broken but here all warnings in > all /external/* libraries in all GCC based builds are pacified > so only runtime tests can exploit GPF or other problems.
fopen64() is not present on OS X. After above warning (which is not pacified), it results in link time failure with this symbol missing. Viktor _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour