Mail Archives: djgpp-workers/2003/02/03/11:48:07
Hello.
Richard Dawe wrote:
>
> Martin Stromberg wrote:
[snip]
> > However, meanwhile I've wondering if having a libc compiled with
> > restrict and using headers without restrict or vice versa can be
> > problem?
> [snip]
>
> Scenario that I think you are thinking of: library compiled with gcc 3.x;
> program using library compiled with gcc 2.95.x.
[snip]
I should have been clearer here. gcc 3.x defaults to C89 mode at the moment,
so it won't support restrict by default. The problematic scenario would be
library built by gcc 3.x in C99 mode and the program built with gcc < 3 or gcc
3.x in C89 mode.
Bye, Rich =]
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
- Raw text -