| Quick navigation: | Home | Site Map || References | Biography || Copyright | Other copyright | Contact us | | |
|
Re: [ccp4bb] mmdb vs. gcc4.3 |
|
CCP4bb navigationCCP4bb <-- 2008 <-- June 2008 <-- 04 June 2008Subject: Re: mmdb vs. gcc4.3 From: Tim Gruene tg {- at -} SHELX {- dot -} UNI-AC {- dot -} GWDG {- dot -} DE Date: 2008-06-04 std::string member function c_str() circumvent the warning message? Tim -- Tim Gruene Institut fuer anorganische Chemie Tammannstr. 4 D-37077 Goettingen GPG Key ID = A46BEE1A On Wed, 4 Jun 2008, Kevin Cowtan wrote: > It's a known issue. > > (The technical issue is that Coot uses STL strings which can return a const > char*, whereas mmdb uses pstr which is typedef'ed to a const char*. From gcc > 4.3 these are no longer equivalent for some reason.). > > For now it is just a warning, so you can ignore it. We're looking into a > proper fix. > > Debreczeni, Judit wrote: >> Dear all [mmdb users and authors], >> >> I've upgraded to Fedora 9 and now I'm trying to build coot which also >> requires mmdb. Now, F9 comes with gcc 4.3 which seems to be >> incompatible with mmdb (I think I'm using mmdb-1.0.8) as it gives many >> hundreds of the following (and others): >> >> warning: deprecated conversion from string constant to 'char*' >> >> >> Is this a known issue? Is there a way to get a quick fix? >> >> Suggestions, fixes etc most welcome. >> >> JED >> >> >> -- >> Judit Debreczeni >> AstraZeneca >> 50S38 Mereside >> Alderley Park >> SK10 4TG >> UK >> >> >> > CCP4bb navigationCCP4bb <-- 2008 <-- June 2008 <-- 04 June 2008 |
| ProteinCrystallography.org: Copyright 2006-2008 by Quid United Ltd |