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: ginclude/varargs.h fix for 64-bit AIX


>>>>> Jeffrey A Law writes:

Jeff> In message <19990629221321.A1637@cygnus.com>you write:
>> On Tue, Jun 29, 1999 at 03:43:10AM -0600, Jeffrey A Law wrote:
>> > For example, we might consider having the va-* file conditionally define
>> > __BUILTIN_VA_ALIST_TYPE or some similar variable to the right type, then
>> > do something like:
>> 
>> I don't think there's any point in that at the moment. 
Jeff> We're talking about all of 3 lines of code to deal with this in a clean 
Jeff> fashion.

Jeff> At the top of varargs.h we put a default definition.

Jeff> In the va-* file, override it as necessary.

	AIX has *NEVER* used a separate va-* file.  Adding a new file for
all of this functionality is a significant change -- more change and more
error-prone than my proposed patch.

David


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