Build warnings

Сергей Коныгин <[email protected]> Wed, 3 Jun 2026 22:10:52 -0700 (PDT)
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
------=_Part_29132_2114749627.1780549852777
Content-Type: multipart/alternative; 
	boundary="----=_Part_29133_663472468.1780549852777"

------=_Part_29133_663472468.1780549852777
Content-Type: text/plain; charset="UTF-8"

Hi!

I get frequent warnings when compiling wxWidgets. 

For example, when compiling version 3.3.2 using the command line

mingw32-make.exe SHELL=CMD.exe -f makefile.gcc -j24 SHARED=0 MONOLITHIC=1 
BUILD=release CXXFLAGS="-fno-keep-inline-dllexport 
-Wno-unused-local-typedefs -Wno-deprecated-declarations -Wunused-variable"

I get the following warnings

implicit-fallthrough, missing-field-initializers, cast-function-type, deprecated.

Is this normal? Perhaps I should change the compilation options? 

-- 
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/3d76fe7b-c6b0-4341-8bbf-d9fe4adcde7fn%40googlegroups.com.

------=_Part_29133_663472468.1780549852777
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div>Hi!</div><div><br /></div><div>
<span role=3D"text" style=3D"text-align: left;" tabindex=3D"-1" aria-label=
=3D"=D0=9F=D0=B5=D1=80=D0=B5=D0=B2=D0=B5=D0=B4=D0=B5=D0=BD=D0=BD=D1=8B=D0=
=B9 =D1=82=D0=B5=D0=BA=D1=81=D1=82: I get frequent warnings when compiling =
wxwidgets" dir=3D"ltr"><span lang=3D"en">I get frequent warnings when compi=
ling wxWidgets.=C2=A0</span></span></div><div><span role=3D"text" style=3D"=
text-align: left;" tabindex=3D"-1" aria-label=3D"=D0=9F=D0=B5=D1=80=D0=B5=
=D0=B2=D0=B5=D0=B4=D0=B5=D0=BD=D0=BD=D1=8B=D0=B9 =D1=82=D0=B5=D0=BA=D1=81=
=D1=82: I get frequent warnings when compiling wxwidgets" dir=3D"ltr"><span=
 lang=3D"en"><br /></span></span></div><div>
<div tabindex=3D"0" role=3D"text"><span role=3D"text" style=3D"text-align: =
left;" tabindex=3D"-1" aria-label=3D"=D0=9F=D0=B5=D1=80=D0=B5=D0=B2=D0=B5=
=D0=B4=D0=B5=D0=BD=D0=BD=D1=8B=D0=B9 =D1=82=D0=B5=D0=BA=D1=81=D1=82: For ex=
ample, when compiling version 3.3.2 using the command line" dir=3D"ltr"><sp=
an lang=3D"en">For example, when compiling version 3.3.2 using the command =
line</span></span></div><div tabindex=3D"-1" role=3D"text"><span role=3D"te=
xt" style=3D"text-align: left;" tabindex=3D"-1" dir=3D"ltr"></span></div>

<br /></div><div>mingw32-make.exe SHELL=3DCMD.exe -f makefile.gcc -j24 SHAR=
ED=3D0 MONOLITHIC=3D1 BUILD=3Drelease CXXFLAGS=3D"-fno-keep-inline-dllexpor=
t -Wno-unused-local-typedefs -Wno-deprecated-declarations -Wunused-variable=
"<br /><br /></div><div>
<span role=3D"text" style=3D"text-align: left;" tabindex=3D"-1" aria-label=
=3D"=D0=9F=D0=B5=D1=80=D0=B5=D0=B2=D0=B5=D0=B4=D0=B5=D0=BD=D0=BD=D1=8B=D0=
=B9 =D1=82=D0=B5=D0=BA=D1=81=D1=82: For example, when compiling version 3.3=
.2 using the command line, I get the following warnings" dir=3D"ltr"><span =
lang=3D"en">I get the following warnings</span></span></div><div><span role=
=3D"text" style=3D"text-align: left;" tabindex=3D"-1" aria-label=3D"=D0=9F=
=D0=B5=D1=80=D0=B5=D0=B2=D0=B5=D0=B4=D0=B5=D0=BD=D0=BD=D1=8B=D0=B9 =D1=82=
=D0=B5=D0=BA=D1=81=D1=82: For example, when compiling version 3.3.2 using t=
he command line, I get the following warnings" dir=3D"ltr"><span lang=3D"en=
"><br /></span></span></div><div>implicit-fallthrough,=C2=A0missing-field-i=
nitializers,=C2=A0cast-function-type,=C2=A0deprecated.</div><div><br /></di=
v><div>
<span role=3D"text" style=3D"text-align: left;" tabindex=3D"-1" aria-label=
=3D"=D0=9F=D0=B5=D1=80=D0=B5=D0=B2=D0=B5=D0=B4=D0=B5=D0=BD=D0=BD=D1=8B=D0=
=B9 =D1=82=D0=B5=D0=BA=D1=81=D1=82: Is this normal? Perhaps I should change=
 the compilation options?" dir=3D"ltr"><span lang=3D"en">Is this normal? Pe=
rhaps I should change the compilation options?</span></span>

</div>

<p></p>

-- <br />
Please read <a href=3D"https://www.wxwidgets.org/support/mlhowto.htm">https=
://www.wxwidgets.org/support/mlhowto.htm</a> before posting.<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;wx-users&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">wx-users+u=
[email protected]</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
wx-users/3d76fe7b-c6b0-4341-8bbf-d9fe4adcde7fn%40googlegroups.com?utm_mediu=
m=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/wx-users/3=
d76fe7b-c6b0-4341-8bbf-d9fe4adcde7fn%40googlegroups.com</a>.<br />

------=_Part_29133_663472468.1780549852777--

------=_Part_29132_2114749627.1780549852777--