This is the mail archive of the cygwin-talk mailing list for the cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -static not working with gcc 4.3.4


Peter Rosin wrote:
> Den 2010-10-18 14:45 skrev Nellis, Kenneth:
>>> $ cat test.c
>>> int main(void) {}
>> 
>> Please, why such a large test case when the following would
>> have been perfectly adequate to demonstrate the problem?:
>> 
>> $ cat test.c
>> main() {}
>> $
>
> Don't throw rocks in glass houses. You have (at least) 20%
> absolute crap in your version.
>
> $ cat test.c
> main(){}$ 

That's not complete crap then, only 20% crap.

BTW, isn't main supposed to be

  int main(void) { return 0; }

or alternatively

  int main(int argc, char *argv[]) { return 0; }

?

-- 
Gary (100% pedant, who didn't read the original thread and so, as usual,
      may not know what he is talking about)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]