[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: avoid some warnings in tests
From: |
Simon Josefsson |
Subject: |
Re: avoid some warnings in tests |
Date: |
Fri, 23 Oct 2009 17:15:11 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) |
Eric Blake <address@hidden> writes:
> In coreutils, I turned on gcc warnings for the gnulib unit tests. This
> cleans up the modules that are mainly from Jim and myself, and mostly hits
> places that used 'main ()' or did 'char *foo = "str"'. Simon and Bruno
> had the most other tests that used 'main ()'; C89 says you should use
> 'main (void)' or 'main (int, char**)', but I did not clean those up
> without first getting some feedback to give me the okay.
For me, that has been a cut'n'paste error. If you have time to fix it
too for my modules, please do!
/Simon