From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: obrien AT NUXI.com Cc: Zack Weinberg , rittle AT rsch.comm.mot.com, morganw AT engr.sc.edu, rth AT cygnus.com, gcc AT gcc.gnu.org, pfeifer AT dbai.tuwien.ac.at Subject: Re: FreeBSD 4.0 Date: Wed, 15 Sep 1999 02:00:00 -0000 Message-id: <10543.937377588@upchuck.cygnus.com> References: <19990914231414.B17808@dragon.nuxi.com> X-SW-Source: 1999-09/msg00596.html In message < 19990914231414.B17808@dragon.nuxi.com >you write: > > May I suggest that stdarg.h/varargs.h be modified to #define > > _BSD_VA_LIST_ to __gnuc_va_list, possibly with appropriate ifdefs to > > limit it to FreeBSD? > > Why not do it the other way around? > > #define __gnuc_va_list _BSD_VA_LIST_ > > Please, please lets not require the dinking of many system headers. > Please also remember GCC is the base compiler in BSD and the number of > things that have to be changed when native'ifing the compiler the better. That seems backwards. When doing varargs/stdargs we absolutely do not want to be using system definitions. Even if the system compiler is gcc. > > (Is this needed by Net/OpenBSD too?) This is simpler and less fragile > > than adding stuff to fixinc. > > This is a 4.4BSD thing. It thus affects all of BSD. Be careful with that statement, while they all come from the same lineage, each has hacked things up in their own special way. And they're currently treating USER_H and fixinc issues differently. jeff From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: obrien@NUXI.com Cc: Zack Weinberg , rittle@rsch.comm.mot.com, morganw@engr.sc.edu, rth@cygnus.com, gcc@gcc.gnu.org, pfeifer@dbai.tuwien.ac.at Subject: Re: FreeBSD 4.0 Date: Thu, 30 Sep 1999 18:02:00 -0000 Message-ID: <10543.937377588@upchuck.cygnus.com> References: <19990914231414.B17808@dragon.nuxi.com> X-SW-Source: 1999-09n/msg00596.html Message-ID: <19990930180200.bQbhL53OmQ43vrbkAli3ANXQ6I7ATXvlFOZfhT-_Lsk@z> In message < 19990914231414.B17808@dragon.nuxi.com >you write: > > May I suggest that stdarg.h/varargs.h be modified to #define > > _BSD_VA_LIST_ to __gnuc_va_list, possibly with appropriate ifdefs to > > limit it to FreeBSD? > > Why not do it the other way around? > > #define __gnuc_va_list _BSD_VA_LIST_ > > Please, please lets not require the dinking of many system headers. > Please also remember GCC is the base compiler in BSD and the number of > things that have to be changed when native'ifing the compiler the better. That seems backwards. When doing varargs/stdargs we absolutely do not want to be using system definitions. Even if the system compiler is gcc. > > (Is this needed by Net/OpenBSD too?) This is simpler and less fragile > > than adding stuff to fixinc. > > This is a 4.4BSD thing. It thus affects all of BSD. Be careful with that statement, while they all come from the same lineage, each has hacked things up in their own special way. And they're currently treating USER_H and fixinc issues differently. jeff