🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Morgan Stair Mon, 16 Nov 1992 20:33
Bug with varargs.h and stdio.h
#1399
Author: 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                       *
***************************************
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads