Hi, On Tue, 11 Mar 2003, Colin Watson wrote:
> On Tue, Mar 11, 2003 at 01:40:49PM +0100, Vincent Lefevre wrote: > > On Tue, Mar 11, 2003 at 11:37:42 +0000, Colin Watson wrote: > > > You could '#define __STRICT_ANSI__' at the top of the program if you > > > want the C library to define only what's in bare ISO Standard C, or > > > '#define _ISOC99_SOURCE' for C99. With either of those y1() won't be > > > defined. > > > > It won't be defined in the header, but the corresponding symbol will > > still be defined in the library itself. Won't this be a problem when > > linking? > > It links fine, but if you link with -lm (not the default) then it seems > you can get segfaults at run-time. > Then what is the default? I always use 'gcc -lm' when using the math library. Greetz, Sebastiaan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]