Operating System - HP-UX
1752687 Members
5416 Online
108789 Solutions
New Discussion

Re: linking/compiling failed with +O4 option

 

Re: linking/compiling failed with +O4 option

> > (3) building with "+O4 -g..." will be passed.
> > The "-g" option does something magical.
> Probably drops the opt level. This will happen with aC++.
Right. You should be getting a warning stating the same:
$cc +O4 -g ....
cc: warning 414: Optimization reduced to +O2 for compatibility with Debug.
chenn_1
Advisor

Re: linking/compiling failed with +O4 option

Thanks all. I decide not using +O4 by now.