From: Ruediger G. <rg...@r-...> - 2001-12-12 22:09:44
|
Hello, On Wed, 12 Dec 2001, Jim Ingham was inspired to say: >On 12/12/01 12:58 PM, "Ruediger Goetz" <rg...@r-...> wrote: > >> Hello, >> >> I just draw the source from the cvs (macos-x-branch) and tried to compile >> (in order to get everything ready for tix). Unfortinately I run into the >> folloeing >> error: >> >> In file included from .....TK/tcl/macosx/../unix/../unix/tclUnixInit.c >> In file included from >> /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h >> warning: passing arg 1 of 'CFSwitch16' with diffrent width due to prototype >> >> Though its called 'warning' its handled as an error by the Project Builder. >> >> Any ideas what went wrong? >> It just my first experience with the Project Builder (I used code on Linux >> with Makefile, but like to get tix running natively on OS X as mentiond >> earlier) >> >> Yours >> >> R"udiger Goetz >> >> -- >> R"udiger Goetz >> rg...@r-... >> WWW: http://www.r-goetz.de >> Mail send by a Mac running Linux (SuSE-PPC) >> >> _______________________________________________ >> Tcl-mac mailing list >> Tc...@li... >> https://lists.sourceforge.net/lists/listinfo/tcl-mac >> > >Rudiger, > >This is a Project Builder bug. When it runs gcc from a regular PB project, >it passes some funny options to gcc to help it to parse the gcc output. But >when it runs a "Legacy Makefile" target (which is what the Tcl project is) >it doesn't have this help, and sometimes mis-parses the output, and thinks >that warnings are errors. Note, however, that the status bar says: > >Build Succeeded (5 errors) > >So it sort of knows what happened. I reported this to the PB folks, and >they will fix it at some point (though it is probably not their first >priority...) > >I should also go clean up the warnings, I need to do a general warning >cleanup, there aren't many in Tcl, but there are way too many in Tk. But I >haven't gotten to this yet. > >Anyway, your build of Tcl is fine. > Unfortunately, it doens't say 'Build Succeeded', but 'Building Make ...(1 error, 1 warning)' (I skiped the warning. And hence it doesn't install anything. And if I compile Tk. it complains in the end about 'can't locate framework for -framework Tcl'. It looks to me that something went wrong, somehow. Yours Rüdiger Goetz - R"udiger Goetz rg...@r-... WWW: http://www.r-goetz.de Mail send by a Mac running Linux (SuSE-PPC) |