pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/cad/boolean

On Tue, Jan 03, 2012 at 01:18:46AM +0000, David A. Holland wrote:
> Log Message:
> Fix undefined behavior (promoted from a warning to an error in recent gcc)
> by casting string objects to const char * before passing to printf.

This looks wrong. You shouldn't be casting, but using .c_str() of the
wxString instance.


Home | Main Index | Thread Index | Old Index