[sldev] GCC4.4.x Was: SNOW-272 patch posted

tdark at speakeasy.net tdark at speakeasy.net
Mon Nov 2 13:46:19 PST 2009


Mike, 

If you are hitting the same problems I had there are some issues with a deprecated conversion from a char literal to a writable char *.  Be sure to add the following option to CMAKE_CXX_FLAGS:
"-Wno-write-strings" 

That will turn off the warning for the following all too common construct:
char *pczAString = "This is a constant string";

I did this through cmake-gui but it would be more correct to put it elsewhere in the long run. 

There are also some library incompatibilities, but I've not sorted these out to my own satisfaction yet...  

By the way, I am running Fedora 11 with g++ 4.4.1
TomN


>On Mon Nov  2 12:45 , Mike Dickson <mike.dickson at hp.com> wrote:
> I've been unable to build a HEAD checkout on Ubuntu Karmic (or anything
>with G++ 4.4.x).  Would love to report success.  Is the patche related
>to that or something different.
>
>Mike
>



More information about the SLDev mailing list