[omniORB] Compiler warnings (casting from const char* to char * and vice versa)

Matej Kenda matej.kenda@hermes.si
Fri, 14 Dec 2001 13:31:45 +0100


Thank you, Duncan.

I agree that it is not big priority. I can do the #ifdefs for g++ and MS VC
for now and send you the diff-ed files. I don't know about other compilers,
though.

Regards,

Matej

-----Original Message-----
From: Duncan Grisby [mailto:dgrisby@uk.research.att.com] 
Sent: Friday, December 14, 2001 1:21 PM
Subject: Re: [omniORB] Compiler warnings (casting from const char* to char*
and vice ver sa) 


Some of the C++ compilers we target are so ancient that they don't support
const_cast<>. There aren't many places where we have to subvert the
constness of something, so I guess it wouldn't be too ugly to #ifdef it. I
don't think it's a big priority, though.