This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
g++-2.95.2 on HP-UX 11.00: return value of main()
- To: bug-gcc at gnu dot org
- Subject: g++-2.95.2 on HP-UX 11.00: return value of main()
- From: "Ulrich Windl" <Ulrich dot Windl at rz dot uni-regensburg dot de>
- Date: Fri, 14 Apr 2000 11:11:50 +0200
- Organization: Universitaet Regensburg, Klinikum
Hello,
it seems my program no longer uses the return value of main as exit
code. I "return(1)" in main(), but the exit code is 0.
The program ran fine with gcc-2.7.2. Recently I upgraded to newer C
libraries and gcc-2.95.2 (from the HP-UX software archive).
Is it a known bug?
Regards,
Ulrich