On Tue, 29 Jul 2008, Stefan Lapers wrote:
>> Anyway, you can workaround this problem by adding
>>    -D__const=const
>> your suncc flags (say, to CC env var).
>>
>> regards,
>>    Fedor.
>
> Hi Fedor,
>
> Thanks, i'm afraid the code won't even compile when i define it this way.. a 
> bit further it bails out with a void function trying to return a value...
> Strange how i managed to get it compiled with gcc... :)

Add -features=extensions :)

regards,
   Fedor.

>
> thanks !
>
>>>
>>> My environment:
>>>
>>> export
>> PATH=$PATH:/opt/SUNWspro/bin/:/usr/sfw/bin/:/opt/cools
>> tack/bin
>>> export CC='cc -m64'
>> _______________________________________________
>> tools-compilers mailing list
>> tools-compilers at opensolaris.org
> --
> This message posted from opensolaris.org
> _______________________________________________
> tools-compilers mailing list
> tools-compilers at opensolaris.org
>

Reply via email to