On Thu 04/10/07, Prof Brian Ripley wrote: > You've got more serious problems than that: you cannot assume gcc. > For example on the SunPro compiler I got > [snip] > > Note that is in C99 mode, and under Linux.
Hmm. I'm able to reproduce at least some of these errors using gcc in ansi mode: [EMAIL PROTECTED]/bnlearn/src]:gcc-4.2 -std=gnu99 -I/usr/share/R/include -I/usr/share/R/include -ansi -Wall -pedantic -std=c99 -fpic -g -O2 -c mutual.information.c -o mutual.information.o mutual.information.c: In function 'mi': mutual.information.c:34: warning: a member of a structure or union cannot have a variably modified type mutual.information.c:35: warning: a member of a structure or union cannot have a variably modified type I'll work on that. On the other hand I'm still curious: why r-patched-macosx-ix86 uses -std=gnu99 for the ppc arch but not for i386 one? -- Marco Scutari Linux Registered User #341807 http://counter.li.org powered by : Debian Sid GNU/Linux (SGI-XFS) Kernel 2.6.21.3 ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel