Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

r13968 Plugin|contrib|wxsmith|wxsitem.cpp

(1/1)

LETARTARE:
Leap-15.6, gcc-15.2, wx-328

In 'wxsitem.cpp:515 ' : for a long time I have had a warning about 

--- Code: ---'va_start(ap,Fmt.wx_str())'
--- End code ---
I propose a correction, which removes this warning, and which respects the last parameter passed in the variadic functions

--- Code: ---'va_start(ap,Fmt)'
--- End code ---
I do not measure an impact on enforcement.
I'm waiting for the developers' opinion before I drop off a ticket.

Miguel Gimenez:
Certainly the wx_str() part has no sense here. There is no need to post a patch, I will commit in a while.

LETARTARE:
Thank you

Navigation

[0] Message Index

Go to full version