On Mon, Nov 17, 2008 at 11:37:23AM -0800, Andy Dougherty wrote:

> The latest version of Sun's compiler, 
>     cc: Sun Ceres C 5.10 SunOS_i386 2008/10/22
> needs the following patch to compile parrot.  The problem appears to be
> the same one already documented for icc in tools/build/c2str.pl:
> 
>     # NOTE: when CONST_STRING gets used it and any macro invocations
>     # that it is used in *should not* be split across more than one
>     # line, because some compilers generate line numbers in such cases
>     # differently from the way gcc does this (a case in point is
>     # Intel's C compiler, icc) and hence the #defined CONST_STRING
>     # won't be found by the compiler.

Shouldn't there be a coding standard to enforce *that*?

Nicholas Clark

Reply via email to