I don't think this is due to XCode1.2 : my tcltk was re-built here with XCode1.2 (apr. 26), and I got there :
../macosx/tclMacOSXBundle.c: In function `Tcl_MacOSXOpenVersionedBundleResources':
../macosx/tclMacOSXBundle.c:152: warning: passing arg 4 of `CFURLCreateCopyAppendingPathComponent' with different width due to prototype
../macosx/tclMacOSXBundle.c:155: warning: passing arg 4 of `CFURLCreateCopyAppendingPathComponent' with different width due to prototype
../macosx/tclMacOSXBundle.c:184: warning: passing arg 2 of `CFURLGetFileSystemRepresentation' with different width due to prototype
rm -f libtclstub8.4.a
.....
Jean-Francois
On May 4, 2004, at 10:45 PM, Benjamin Reed wrote:
I'm getting the following error building:
---(snip!)---
../macosx/tclMacOSXBundle.c: In function `Tcl_MacOSXOpenVersionedBundleResources':
../macosx/tclMacOSXBundle.c:152: error: built-in function `__builtin___CFStringMakeConstantString' requires `-fconstant-cfstrings' flag
../macosx/tclMacOSXBundle.c:152: warning: passing arg 4 of `CFURLCreateCopyAppendingPathComponent' with different width due to prototype
../macosx/tclMacOSXBundle.c:155: warning: passing arg 4 of `CFURLCreateCopyAppendingPathComponent' with different width due to prototype
../macosx/tclMacOSXBundle.c:175: error: built-in function `__builtin___CFStringMakeConstantString' requires `-fconstant-cfstrings' flag
../macosx/tclMacOSXBundle.c:184: warning: passing arg 2 of `CFURLGetFileSystemRepresentation' with different width due to prototype
---(snip!)---
I was able to fix it by adding:
GENERIC_FLAGS="-fconstant-cfstrings"
...to the two "make" bits in tcltk.info, but that seems rather hackish. Any ideas on a proper way to handle this?
-- Benjamin Reed, a.k.a. RangerRick [EMAIL PROTECTED] / http://ranger.befunk.com/
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel