lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] compilation fixes for wx trunk


From: Greg Chicares
Subject: Re: [lmi] compilation fixes for wx trunk
Date: Sat, 01 Nov 2008 15:59:18 +0000
User-agent: Thunderbird 2.0.0.17 (Windows/20080914)

On 2008-10-31 13:23Z, Vaclav Slavik wrote:
> 
> are there any objections to committing these changes?

Committed 20081101T1547Z and 20081101T1548Z.

> Index: icon_monger.cpp
[...]
> -    std::string icon_name = id.c_str();
> +    std::string icon_name(id.c_str());
> 
> 
> Without them, compilation against wx trunk fails. I believe the first
> thing was already done before in other places.

Why does 'std_string = wx_string.c_str()' fail? Conversion is
explicit, with c_str(), so the std::string is initialized from
a pointer to some native char type, isn't it?

This doesn't seem equivalent to these other past problems:
  http://lists.nongnu.org/archive/html/lmi/2008-06/msg00003.html
  http://lists.nongnu.org/archive/html/lmi/2008-05/msg00006.html




reply via email to

[Prev in Thread] Current Thread [Next in Thread]