Mail Archives: djgpp/2002/06/14/04:47:23

Message-ID: <>
From: "Burgers, A.R." <burgers AT ecn DOT nl>
To: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: gcc 3.1: conflict between stdio.h and stdarg.h
Date: Fri, 14 Jun 2002 09:27:18 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Reply-To: djgpp AT delorie DOT com


consider the following two-line file:

bash-2.04$ cat zz.c
#include <stdio.h>
#include <stdarg.h>

This compiles fine with gcc 2.95-3.
Compiling it with gcc 3.1 gives the following error:

bash-2.04$ gcc -c zz.c
In file included from zz.c:2:
c:/djgpp/lib/gcc-lib/djgpp/3.1/include/stdarg.h:110: conflicting types for
c:/djgpp/include/stdio.h:35: previous declaration of `va_list'


Teun Burgers

- Raw text -

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