delorie.com/archives/browse.cgi | search |
X-Server-Uuid: | 1e1caf3a-b686-11d4-a6a3-00508bfc9ae5 |
Message-ID: | <010601c22109$e1375f80$7540b10a@eu.broadcom.com> |
From: | "David Monksfield" <bdrm AT iago DOT demon DOT co DOT uk> |
To: | djgpp AT delorie DOT com |
Subject: | Possible bug: djdev203 + gcc 3.1, stdarg.h: va_list definition |
conflicts with stdio.h | |
Date: | Mon, 1 Jul 2002 15:16:22 +0100 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.50.4807.1700 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4807.1700 |
X-WSS-ID: | 113EBB941079693-01-01 |
Reply-To: | djgpp AT delorie DOT com |
When I compile the following two-liner (using gcc -c) with DJDEV203 and GCC31B installed: #include <stdio.h> #include <stdarg.h> I get an error message about 'va_list' being redefined. It is getting stdio.h from %DJDIR%/include and stdarg.h from the compiler-specific include directory (which has no stdio.h). I notice that in my Linux copy of GCC 3.1, the compiler comes with its own copy of stdio.h as well, which perhaps avoids this conflict. Please reply personally, I don't subscribe to this list. Please be gentle if I've missed something obvious. Thanks, -- David Monksfield
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |