Re: incompatible implicit declaration of built-in function 'exit'

2006-03-28 Thread Jack Howarth
Paul, Thanks. I had been trying stdlib.h but didn't realize it had to occur before the other headers like stdio.h. Placing it first solved the problem. Jack

Re: incompatible implicit declaration of built-in function 'exit'

2006-03-28 Thread Kevin Handy
Jack Howarth wrote: I am trying to compile some fairly old legacy c code with gcc 4.1 in FC5 and have been able to eliminate all the compiler warnings save one... warning: incompatible implicit declaration of built-in function 'exit' It should be defined in . Is there a missin

Re: incompatible implicit declaration of built-in function 'exit'

2006-03-28 Thread Paul Brook
On Tuesday 28 March 2006 21:32, Jack Howarth wrote: >I am trying to compile some fairly old legacy c code with gcc 4.1 > in FC5 and have been able to eliminate all the compiler warnings save > one... > > warning: incompatible implicit declaration of built-in function 'e

incompatible implicit declaration of built-in function 'exit'

2006-03-28 Thread Jack Howarth
I am trying to compile some fairly old legacy c code with gcc 4.1 in FC5 and have been able to eliminate all the compiler warnings save one... warning: incompatible implicit declaration of built-in function 'exit' ...which is repeated through the compilation of the sources. I can g