This is the mail archive of the gcc-bugs@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: Today's source cannot build on NetBSD


On Tue, Dec 05, 2000 at 05:59:55PM +0000, Richard Earnshaw wrote:

 > Good heavens, has this really been broken all year? [actually, the message 
 > was so old, my initial reply bounced because the list name has changed ;-]

I noticed this quite some time ago, but it didn't occur to me to mention
it here.  Anyway, I have fixed some of the NetBSD header files to work
with newer versions of GCC (basically, the ansi.h files of the ports that
I was playing with GCC on...)

----------------------------
revision 1.10
date: 2000/05/03 21:54:06;  author: thorpej;  state: Exp;  lines: +6 -1
Make varargs and stdarg work with GCC 2.96 and later.
----------------------------

It basically does:

#if __GNUC_PREREQ__(2, 96)
#define _BSD_VA_LIST_           __builtin_va_list /* GCC built-in type */
#else
#define _BSD_VA_LIST_           char *          /* va_list */
#endif

Anyway, if you do end up hacking fixincludes to fix this, make sure the
rule can notice when it's been fixed already.

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>

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