×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
It turns out to be caused by library list issue. We have a file (same file name but diff lay out (one has some extra fields than the other) that exists in two diff libraries. My job description library is setup correctly. The compiler picks up the correct file and compile the code without problem. I corrected the implementer JOBD and the problem has been resolved. Why would C compiler produced such a strange error message is beyond me.
-----Original Message-----
From: Lim Hock-Chai
Sent: Monday, April 21, 2014 10:53 AM
To: 'c400-l@xxxxxxxxxxxx'
Subject: 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.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.