Re: POSIX in g++

2008-07-15 Thread Ian Lance Taylor
"Peng Yu" <[EMAIL PROTECTED]> writes: I should have said in reply to your last message: this is the wrong mailing list for this question. Please take any followups to [EMAIL PROTECTED] Thanks. > Isn't ANSI C++ a subset of POSIX C++. Why do I need to specify > _POSIX_SOURCE, _POSIX_C_SOURCE and

Re: POSIX in g++

2008-07-15 Thread Peng Yu
On Tue, Jul 15, 2008 at 5:57 PM, Ian Lance Taylor <[EMAIL PROTECTED]> wrote: > "Peng Yu" <[EMAIL PROTECTED]> writes: > >> There is an options -ansi to make g++ ANSI compatible. I'm wondering >> if there is an option to make g++ POSIX compatible. Or g++ is already >> POSIX compatible without an opti

Re: POSIX in g++

2008-07-15 Thread Peng Yu
On Tue, Jul 15, 2008 at 5:57 PM, Ian Lance Taylor <[EMAIL PROTECTED]> wrote: > "Peng Yu" <[EMAIL PROTECTED]> writes: > >> There is an options -ansi to make g++ ANSI compatible. I'm wondering >> if there is an option to make g++ POSIX compatible. Or g++ is already >> POSIX compatible without an opti

Re: POSIX in g++

2008-07-15 Thread Ian Lance Taylor
"Peng Yu" <[EMAIL PROTECTED]> writes: > There is an options -ansi to make g++ ANSI compatible. I'm wondering > if there is an option to make g++ POSIX compatible. Or g++ is already > POSIX compatible without an option? POSIX itself specifies features macros which you may define to compile your so