This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

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


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


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