Re: Macros redefinition

Paris Rossano <[email protected]> Sat, 18 Apr 2026 15:53:24 +0200
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
building minimal sample I don't see any warning ...


On 18/04/2026 15:28, Vadim Zeitlin wrote:
> On Sat, 18 Apr 2026 15:21:48 +0200 Paris Rossano wrote:
>
> PR> in all my .cpp files I normally use this sequence:
> PR>
> PR> #include <wx/wxprec.h>
> PR>
> PR> #ifndef WX_PRECOMP
> PR> #include <wx/wx.h>
> PR> #endif
> PR>
> PR> then follow wx includes,for instance:
> PR> #include <wx/filedlg.h>
> PR> #include <wx/filename.h>
> PR>
> PR> then follow my application includes
>
>   This is perfectly standard and I don't see any such warnings when doing
> this with MSVS 2022. Either this has somehow changed in MSVS 2026 (I don't
> have it yet, so can't test myself) or, more likely, there is something I'm
> missing here.
>
>   Do you get the same warnings when building minimal sample?
> VZ
>

-- 
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
--- 
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/wx-users/a512b160-17eb-4365-958e-af549ff9758f%40escadasolutions.com.