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@xxxxxxxxxxxx [mailto:c400-l-bounces@xxxxxxxxxxxx] On Behalf Of Lim Hock-Chai
Sent: Monday, April 21, 2014 8:53 AM
To: c400-l@xxxxxxxxxxxx
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@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: 
http://lists.midrange.com/mailman/listinfo/c400-l
or email: C400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at 
http://archive.midrange.com/c400-l.
As an Amazon Associate we earn from qualifying purchases.