g++-2.95.2 on HP-UX 11.00: return value of main()

Alexandre Oliva aoliva@cygnus.com
Fri Apr 14 05:58:00 GMT 2000


On Apr 14, 2000, "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de> wrote:

> So we can say the ANSI standard says it (returning exitcodes from 
> main()) should work?

Yep.  It's expected to work.  It's probably a HP-UX 11-specific bug.
One of the issues that needed porting, that hadn't been done by the
time GCC 2.95 was released.

-- 
Alexandre Oliva    Enjoy Guaraná, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me



More information about the Gcc-bugs mailing list