-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
shiling zhang wrote:
I have a C program that is complied fine under DOS and UNIX.
However, the same C program has the following compling error under IBM 390.
TIA.
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+---->
42 |double dot(int n, double a[], double b[])
===========> ..........................ab..........cd.......... ................
*=ERROR===========> a - CBC3191 The character \xba is not a valid C source char
*=ERROR===========> b - CBC3191 The character \xbb is not a valid C source char
*=ERROR===========> c - CBC3191 The character \xba is not a valid C source char
*=ERROR===========> d - CBC3191 The character \xbb is not a valid C source char
The C/390 compiler usually wants it's source code in EBCDIC-US, which
doesn't have square brackets. You'll have to recode these as trigraphs,
and make sure that you are using the correct EBCDIC. (That you could
type a square-bracket tells me that you're not using EBCDIC-US; you're
probably using coded characterset EBCDIC-INT or one of the national
EBCDIC charactersets).
- --
Lew Pitcher, IT Consultant, Enterprise Data Systems
Enterprise Technology Solutions, TD Bank Financial Group
(Opinions expressed here are my own, not my employer's)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
iD8DBQFBUFueagVFX4UWr64RAim9AJ96Lo3GM1y+VM54DdVp93 RvGx8gagCeIYNr
yCe5lpmVF41J830dlOBaGS4=
=crf2
-----END PGP SIGNATURE-----