[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gcc vs. g++: really strange behaviour



On Mon, Aug 30, 2004 at 11:16:15AM +0200, Sebastian Steinlechner wrote:
> #define __USE_XOPEN // this is superfluous, but the same occurs without

Never ever use any of the "__" defines.  They are internal to the
c library.  Use the proper "_" define like setting _XOPEN_SOURCE
to 500 or something.

Replacing that line with:
#define _XOPEN_SOURCE 500

Gives in both cases the expected result (that __USE_XOPEN is
defined).


Kurt



Reply to: