Author Topic: r13968 Plugin|contrib|wxsmith|wxsitem.cpp  (Read 99 times)

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 591
  • L'ami de l'homme. The friend of man.
    • LETARTARE
r13968 Plugin|contrib|wxsmith|wxsitem.cpp
« on: Today at 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.
CB-13968, plugins-sdk-2.25.0 : Collector-2.6.5, AddOnForQt-5.1.2
1- Win7 Business Pack1 64bits : wx-3.2.8, gcc-15.2.0,
2- OpenSuse::Leap-15.6-64bits : wx-3.2.8;gtk3-u, gcc-15.2.0,
=> !! The messages are translated by 'Deepl'

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1899
Re: r13968 Plugin|contrib|wxsmith|wxsitem.cpp
« Reply #1 on: Today at 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.

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 591
  • L'ami de l'homme. The friend of man.
    • LETARTARE
Re: r13968 Plugin|contrib|wxsmith|wxsitem.cpp
« Reply #2 on: Today at 06:19:37 pm »
Thank you
CB-13968, plugins-sdk-2.25.0 : Collector-2.6.5, AddOnForQt-5.1.2
1- Win7 Business Pack1 64bits : wx-3.2.8, gcc-15.2.0,
2- OpenSuse::Leap-15.6-64bits : wx-3.2.8;gtk3-u, gcc-15.2.0,
=> !! The messages are translated by 'Deepl'