Re: Strange C compile error

Tim Bronski <[email protected]>
Newsgroups gmane.comp.lang.as400.c
Message-ID <[email protected]>
The include file that defines MHR isnt being found. You should see that 
somewhere else in the listing.

On 4/21/2014 5:52 PM, Lim Hock-Chai wrote:
> 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.

-- 
Need secure FTP? Download your native sFTP solution here: 
www.arpeggiosoftware.com
-- 
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.