1834499 Members
2860 Online
110068 Solutions
New Discussion

Re: 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