[PATCH]: fix compile warnings in wpa_gui
Kel Modderman
kel
Wed Dec 26 15:01:34 PST 2007
On Thursday 27 December 2007 04:17:46 Jouni Malinen wrote:
> On Wed, Dec 26, 2007 at 09:42:18PM +1000, Kel Modderman wrote:
> > The following warnings can be observed while compiling wpa_gui:
> > .ui/../networkconfig.ui.h:137: warning: deprecated conversion from string
> > constant to 'char*'
> >
> > The attached patch fixes them. I'm pretty sure none of the strings marked
> > as constants by this patch are expected to be modifiable by other
> > functions.
>
> I don't see these with g++ 4.1.2, but anyway, the change itself looks
> fine. I applied it to both wpa_gui and wpa_gui-qt4.
IIRC, g++ >= 4.2 makes the noise.
Thanks, Kel.
More information about the Hostap
mailing list