Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: LETARTARE on August 25, 2026, 11:42:43 am

Title: r13968 Plugin|contrib|wxsmith|wxsitem.cpp
Post by: LETARTARE on August 25, 2026, 11:42:43 am
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())'
I propose a correction, which removes this warning, and which respects the last parameter passed in the variadic functions
Code
'va_start(ap,Fmt)'
I do not measure an impact on enforcement.
I'm waiting for the developers' opinion before I drop off a ticket.
Title: Re: r13968 Plugin|contrib|wxsmith|wxsitem.cpp
Post by: Miguel Gimenez on August 25, 2026, 05:37:47 pm
Certainly the wx_str() part has no sense here. There is no need to post a patch, I will commit in a while.
Title: Re: r13968 Plugin|contrib|wxsmith|wxsitem.cpp
Post by: LETARTARE on August 25, 2026, 06:19:37 pm
Thank you