Re: Strange C compile error
"Monnier, Gary" <[email protected]>
| Newsgroups | gmane.comp.lang.as400.c |
|---|---|
| Message-ID | <C7776ECF3936FF4C97CC338B54786E874ED488@vamex102> |
Size of the source file? If Implementer's source file is 80 and yours is 120 maybe code is being truncated by Implementer? -----Original Message----- From: c400-l-bounces-Zwy7GipZuJhWk0Htik3J/[email protected] [mailto:c400-l-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]] On Behalf Of Lim Hock-Chai Sent: Monday, April 21, 2014 8:53 AM To: c400-l-Zwy7GipZuJhWk0Htik3J/[email protected] Subject: [C400-L] Strange C compile error I'm getting these strange CZM0275/CZM0282 errors that I just couldn't quite be able to figure out. The c compiler only produces these errors when I compile it thru MKS implementer. It compiles fine if I compile it from command line. *...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8....+....9....+....0....+....1....+....2. 63 |int ECDMBR_RO(char [],char [],char [],char []); | 63? 64 |void getUASCOBPF(BL5K *); | 64? 65 |int setHeaderCC(F10_DSECDHDR *); //005 | 65? 66 |int ProcessHeaderRecord(MHR *,int); | 66? 67 |int | 67? ===========> .....b.............................a..............................................................? *=SEVERE==========> a - CZM0275 Unexpected text '*' encountered. *=SEVERE==========> b - CZM0282 The type of the parameters must be specified in a prototype. 68 |JOBDAT(char []); | 68? 69 |int AtoI(char [],int); | 69? 70 |int LoadIndexKey(BL5K *, F10_DSECDHDR *); //007 | 70? 71 |void | 71? 72 |printThis(char *text); //0\| 72? 72 |06 | 72? 73 | | 73? ===========> ....c..............................a..b...........................................................? *=SEVERE==========> a - CZM0275 Unexpected text '*' encountered. *=SEVERE==========> b - CZM0276 Syntax error: possible missing identifier? *=SEVERE==========> c - CZM0282 The type of the parameters must be specified in a prototype. -- This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list To post a message email: C400-L-Zwy7GipZuJhWk0Htik3J/[email protected] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/c400-l or email: C400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected] Before posting, please take a moment to review the archives at http://archive.midrange.com/c400-l. -- This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list To post a message email: C400-L-Zwy7GipZuJhWk0Htik3J/[email protected] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/c400-l or email: C400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected] Before posting, please take a moment to review the archives at http://archive.midrange.com/c400-l.