On Wed, 23 Aug 2006, Brad Cavanagh wrote:
> On Wed, 23 Aug 2006, David Berry wrote:
>
>> I presumed the problem had gone with more recent Solaris compilers, so
>> I'm not sure why Brad is seeing it.
>
> cc -V
> cc: Sun WorkShop 6 2000/04/07 C 5.1
>
> So even older than the RAL compiler. I assume it must have been fixed
> sometime between the initial release and update 2.
>
I think I'd prefer the compiler complaint rather than silently working so
I don't think that sounds like an improvement to the compiler.
Treating a void* as a char* is not portable.
--
Tim Jenness
JAC software
http://www.jach.hawaii.edu/~timj
|