Subject: | canon.c fails to compile with Sun Studio 7 CC |
canon.c doesn't compile with my Sun Studio 7 CC compiler.
The source code of the C files has end of line characters that Forte CC
doesn't like. As a result, it was unable to properly parse the
multiline macro in canon.c. It compiled after combining the multi-line
macro to one line, or by running canon.c through dos2unix.
I know that it is an old compiler, but using old-ass tools is typical in
a Solaris environment. I don't know if this issue manifests with recent
versions of Sun Studio.
perl, v5.10.1
Solaris 10
cc: Sun C 5.7 2005/01/07