This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Namespaces & main()
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.