Re: D_GNU_SOURCE option for gcc?

2004-02-20 Thread Henry Lenzi
stephen parkinson zmemw16.demon.co.uk> writes: > > Thomas H. George wrote: > > > I am using source code from UNIX SYSTEMS PROGRAMMING by Robbins & > > Robbins. It gives a compiler error unless compiled with the option > > -D_GNU_SOURCE . > > Where does this option come from - its not in the

Re: D_GNU_SOURCE option for gcc?

2004-02-19 Thread stephen parkinson
Martin Dickopp wrote: stephen parkinson <[EMAIL PROTECTED]> writes: Thomas H. George wrote: I am using source code from UNIX SYSTEMS PROGRAMMING by Robbins & Robbins. It gives a compiler error unless compiled with the option -D_GNU_SOURCE . Where does this option come from - its not in

Re: D_GNU_SOURCE option for gcc?

2004-02-18 Thread Martin Dickopp
stephen parkinson <[EMAIL PROTECTED]> writes: > Thomas H. George wrote: > >> I am using source code from UNIX SYSTEMS PROGRAMMING by Robbins & >> Robbins. It gives a compiler error unless compiled with the option >> -D_GNU_SOURCE . >> Where does this option come from - its not in the man pages?

Re: D_GNU_SOURCE option for gcc?

2004-02-18 Thread Martin Dickopp
"Thomas H. George" <[EMAIL PROTECTED]> writes: > I am using source code from UNIX SYSTEMS PROGRAMMING by Robbins & > Robbins. It gives a compiler error unless compiled with the option > -D_GNU_SOURCE . > Where does this option come from - its not in the man pages? It defines the preprocessor mac

Re: D_GNU_SOURCE option for gcc?

2004-02-18 Thread stephen parkinson
Thomas H. George wrote: I am using source code from UNIX SYSTEMS PROGRAMMING by Robbins & Robbins. It gives a compiler error unless compiled with the option -D_GNU_SOURCE . Where does this option come from - its not in the man pages? Why is it needed when using the Debian gcc and g++ packages

D_GNU_SOURCE option for gcc?

2004-02-18 Thread Thomas H. George
I am using source code from UNIX SYSTEMS PROGRAMMING by Robbins & Robbins. It gives a compiler error unless compiled with the option -D_GNU_SOURCE . Where does this option come from - its not in the man pages? Why is it needed when using the Debian gcc and g++ packages? Curious, Tom -- To