This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: __va_copy - for compatibility [and c++ q]


>>>>> Richard Henderson writes:

 > On Fri, Dec 10, 1999 at 04:40:18PM +0100, Andreas Jaeger wrote:
>> (va_copy): Define only if not STDC conformance is sought (va_copy
>> is part of ISO C99 but not of ISO C89).

 > __STRICT_ANSI__ is what you want, not __STDC__, which is 
 > defined *all* the time.  And in any case, the patch is
 > just as wrong for c99 as the original was for c89.
Ok.

 > I'm thinking about the following patch.  C++ folks, how
 > does this affect yall?  Do you need va_copy with -ansi?

Thanks for looking into it.  I agree, your patch handles the va_copy
problem much better.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]