hpux under the cc does not support ANSI C syntax do?

Category: Linux/Unix Community -> System Maintenance Author: wangxlu Date: 2010-06-12 12:04:37
 
wangxlu
2010-06-12 12:04:37
hpux version B.11.11 U 9000/800
I compile a file cc error for the following statement:

typedef void (* lgenfp_t) (void );

error: (Bundled) cc: "oratypes.h", line 444: error 1705: Function prototypes are an ; ANSI feature.

and cc and no help and man pages! I should hpun under what compiler? How to obtain help information about the cc?
cl77885217
2010-06-12 12:17:01
ANSI standard seems to be so be it:
typedef void (* lgenfp_t) ();
narcissism_vivi
2010-06-12 12:21:33
My version is here hpux version B.11.00 U ; 9000/800
like you then define
I compile ah