On 03/02/2010 10:34 AM, Pranay Airan wrote: > So here is what i figure out > > if you see line 97, 111,112, 125, 135, 136 of _structs.h they are > declaring variables without names just like 39; 39; etc when i commented > those lines i am able to compile
gcc allows anonymous bitfields like this, unfortunately, your compiler doesn't, so it'll probably need its own patched copy of the header. Peter > > On Tue, Mar 2, 2010 at 9:56 PM, Peter O'Gorman <pe...@pogma.com > <mailto:pe...@pogma.com>> wrote: > > On 03/02/2010 09:56 AM, Pranay Airan wrote: > > hello > > > > We have been trying to package CILK through FINK. In this process, in > > order to port it on to MAC OSX, we require gcc. So, we installed XCODE > > 3.1.4 on our machine. Now while running Makefile of CILK, we > > encountered errors while trying to compiling example .cilk files ... > > * This is due to some syntax errors in > /usr/include/mach/i386/_structs.h > > which the cilkc compiler is failing to read..* > > We however modified _struucts.h header file to make our cilk files > > compile and run on our machine.. > > > > We think it as a bug in _structs.h > > What are the errors? What do you think the bug is? How did you modify > _structs.h? No you can not patch it in the process of packaging, if you > need a modified _structs.h, mkdir -p mach/i386 in the build dir and put > your modified _structs.h there (making sure, of course, that the build > dir is in the -I paths). > > Bugs in Apple headers, compilers etc. should be reported to > https://bugreport.apple.com > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel