🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1399

Bug with varargs.h and stdio.h

#1399
From: Morgan Stair
Date: Mon, 16 Nov 1992 20:33
29 lines
1334 bytes
/*-
 * tester.c
 *
 * This program shows the following error when compiled by gcc-2.3.1 on
 * my Sun Sparc 1+ with SunOS 4.1.1
 *
 *

In file included from /software/gcc-2.3.1/lib/gcc-lib/sparc-sun-sunos4.1.1/2.3.1/include/stdarg.h:32, from /software/gcc-2.3.1/lib/gcc-lib/sparc-sun-sunos4.1.1/2.3.1/include/stdio.h:2, from tester.c:16:
/software/gcc-2.3.1/lib/gcc-lib/sparc-sun-sunos4.1.1/2.3.1/include/va-sparc.h:45: warning: useless keyword or type name in empty declaration

 *
 *
 * The error does not occurr when <stdio.h> is put before <varargs.h>
 *
 */

#include <varargs.h>
#include <stdio.h>

main()
{
}
--
***************************************
* Morgan Stair <Morgan@DL5000.BC.EDU> *
* BC / Institute for Space Research   *
* (617)552-8783                       *
***************************************
Technical Details
Message-ID: <MORGAN.92Nov16153353@dl5000.bc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!dl5000.bc.edu!morgan

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!dl5000.bc.edu!morgan
From: morgan@dl5000.bc.edu (Morgan Stair)
Subject: Bug with varargs.h and stdio.h
Message-ID: <MORGAN.92Nov16153353@dl5000.bc.edu>
Sender: gnulists@ai.mit.edu
Organization: Institute for Space Research, Boston College
Distribution: gnu
Date: Mon, 16 Nov 1992 20:33:53 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 30