Namespaces & main()

Andreas Schwab schwab@issan.informatik.uni-dortmund.de
Mon Oct 19 01:27:00 GMT 1998


Jason Merrill <jason@cygnus.com> writes:

|> >>>>> Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> writes:
|> 
|>  > |> This part is correct.  The global "main" is explicitly defined in the C++
|>  > |> standard to return 0 if no return value is given.
|> 
|>  > Unfortunately g++ doesn't implement that yet.
|> 
|> Huh?  Sure it does.

The last time i checked (with the 981005 snapshot) it didn't.  Maybe that
changed in the mean time.

Andreas.



More information about the Gcc mailing list