Mail Archives: djgpp/2002/06/14/00:16:37

From: Rob Kramer <robk AT starhub DOT net DOT sg>
Newsgroups: comp.os.msdos.djgpp
Subject: Header problem when upgrading CVS djgpp.
Date: Fri, 14 Jun 2002 11:09:29 +0800
Organization: Singapore Telecommunications Ltd
Lines: 39
Message-ID: <aebnf4$vi1$>
Mime-Version: 1.0
User-Agent: KNode/0.7.1
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com


I tried to upgrade my cross building environment to the latest DJGPP version 
in CVS. To do so, I:

- Compiled djgpp, did mkdist, unzipped -a to a tmp dir.
- Copied -rp tmp/include/* to /opt/djgpp/i586-pc-msdosdjgpp/include
- Copied -rp tmp/lib/* to /opt/djgpp/i586-pc-msdosdjgpp/lib

But I guess this isn't the right way to do it, since now I get redefinition 

gcc -c -gstabs+ -march=i486 -mcpu=pentium -O2 -W -Wall -Wno-unused 
-Wno-parentheses -mpreferred-stack-boundary=2 -I.. -I. -I../../include 
-o../obj/mndraw.o mndraw.c
In file included from ../../include/allegro/base.h:27,
                 from ../../include/allegro4.h:27,
                 from ../mn/mnsystem.h:25,
                 from mnsbitmap.h:36,
                 from mndraw.c:34:
warning: redefinition of `va_list'
warning: `va_list' previously declared here

And ditto for size_t and others.
FYI, allegro/base.h contains '#include <stdarg.h>', but why does it pick 
over /opt/djgpp/i586-pc-msdosdjgpp/include/stdarg.h ?

I saw very lenghty discussions on this issue in the mail archives, but don't 
know if this is the same problem. Somehow I think I can't just copy the new 
headers on top of the old ones.. (?)



- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019