delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/05/20/16:00:53.1

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3B080F01.C8B2417C@phekda.freeserve.co.uk>
Date: Sun, 20 May 2001 19:37:53 +0100
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.17 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: DJGPP workers <djgpp-workers AT delorie DOT com>
Subject: tests/libc/ansi/stdio/hello.c & gcc 2.95.3
Reply-To: djgpp-workers AT delorie DOT com

Hello!

tests/libc/ansi/stdio/hello.c fails to build with gcc 2.95.3, because of
an error in the declaration of main. Here is a fix. OK to commit?

Bye, Rich =]

*** /develop/djgpp/tests/libc/ansi/stdio/hello.c	Sat Mar 18 18:55:42 1995
--- c:/develop/djgpp.dev/tests/libc/ansi/stdio/hello.c	Sun May 20 19:35:04
2001
***************
*** 1,7 ****
  #include <stdio.h>
  
  int
! main(int argc, char *argv)
  {
    printf("hello\n");
    return 0;
--- 1,7 ----
  #include <stdio.h>
  
  int
! main(int argc, char *argv[])
  {
    printf("hello\n");
    return 0;

- Raw text -


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