Hi Teo,

> On Apr 22, 2010, at 12:15 PM, Viktor Szakáts wrote:
> 
>> Hi All,
>> 
>> 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?
> 
> What about to simply use fopen instead of fopen64 ?

I have a patch ready which does that, but 
without seeing the big picture for these 
functions, it will not be the most perfect 
solution I'm afraid. Anyway I will now commit 
it as a darwin patch because this is a showstopper.

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to