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
>
>
>
|