Thank you very much for help!

2008/7/24 James Carlson <james.d.carlson at sun.com>:
> Alexander Bubnov writes:
>> Hello, James!
>>
>> I agree with you. But, unfortunately, the code is written by outside
>> developers...
>
> That doesn't make it any less defective.
>
>> Is there other way to compile the code under solaris? or
>> that warning is solaris specific one and I should correct the code?
>
> You _may_ be able to get away with inserting "#undef" statements that
> remove the _C and _S definitions or even with "-U_C -U_S" on the g++
> command line, but at that point, you're on your own.
>
> The right answer is to fix the code.  It _appears_ to work on Linux,
> but it's still not right.  It may even stop working on Linux in the
> future, if they ever exercise their right to define those symbols.
>
> If I were in your position, I'd file a bug with the outside developer
> (this is a simple namespace violation), and then hack up my local copy
> of the code while I waited for an "official" patch to repair the
> problem.
>
> --
> James Carlson, Solaris Networking              <james.d.carlson at sun.com>
> Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
> MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
>



-- 
/BR, Alexander

Reply via email to