1834454 Members
2909 Online
110067 Solutions
New Discussion

C Preprocessor

 
Angie Beswick
New Member

C Preprocessor

Under HP-UX 10.20 the C preprocessor treated lines starting with # which were not pre-processing directives as a string. Under Hp-Ux 11 the pre-processor tries to treat this as a pre-processing directive.

Any ideas how to get round this.

1 REPLY 1
Angie Beswick
New Member

Re: C Preprocessor

This is now resolved. HP-UX 11 defaults to ansi rather than K&R. -Ac on compliation fixed the problem