Re: [Rd] -std=c99 and inline semantics

2007-03-21 Thread Prof Brian Ripley
The answer seems to be simple: add -fgnu89-inline, which will be available for gcc >= 4.1.3 (not yet released) according to the info files in the trunk. BTW, the two OSes I tried the GCC trunk on (FC5 and MinGW) both had problems of their own with this change of semantics. AFAICS, wchar.h in

Re: [Rd] -std=c99 and inline semantics

2007-03-20 Thread Prof Brian Ripley
As even 4.2.0 is not released yet, we will make changes at an appropriate time. The GNU and C99 semantics for 'inline' are known to be incompatible. >From src/include/Rinlinedfuns.h: /* this header is always to be included from others. It is only called if COMPILING_R is defined (in util.c