Operating System - HP-UX
1754300 Members
2732 Online
108813 Solutions
New Discussion

Alter the compilation flags on HP ANSI C

 
johnny ta
Occasional Contributor

Alter the compilation flags on HP ANSI C

Hello all,
I try to find some flag(s) to raise some specific warning errors: uninitialized variables, array boundary problems, unused variables.
I did try -w1, it showed all kinds of warning but not those above.

Anyone can help me out?
Thanks
1 REPLY 1
Steve Steel
Honored Contributor

Re: Alter the compilation flags on HP ANSI C

Hi

http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2504,00.html


Leads to all language documentation


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)