Macros redefinition
Rossano Paris <[email protected]> Sat, 18 Apr 2026 06:01:33 -0700 (PDT)
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_864234_888804814.1776517293683 Content-Type: multipart/alternative; boundary="----=_Part_864235_642280955.1776517293683" ------=_Part_864235_642280955.1776517293683 Content-Type: text/plain; charset="UTF-8" Hi, Does anyone know how to get rid of the following warnings? Are they something that should be solved in the library? Visual studio 2026 MSW SDK:10.0.26100.0 wx: v3.3.2 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\urlmon.h(751,9): warning C4005: 'INET_E_CANNOT_LOCK_REQUEST': macro redefinition 1> (compiling source file 'file:///sln/client/threads/core/ThClientInformation.cpp') 1> \\192.168.84.1\workspace\develop\wxw\wx\wxWidgets-3.3.3\include\wx\msw\missing.h(360,9): 1> see previous definition of 'INET_E_CANNOT_LOCK_REQUEST' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\urlmon.h(752,9): warning C4005: 'INET_E_USE_EXTEND_BINDING': macro redefinition 1> (compiling source file 'file:///sln/client/threads/core/ThClientInformation.cpp') 1> \\192.168.84.1\workspace\develop\wxw\wx\wxWidgets-3.3.3\include\wx\msw\missing.h(364,9): 1> see previous definition of 'INET_E_USE_EXTEND_BINDING' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\urlmon.h(753,9): warning C4005: 'INET_E_TERMINATED_BIND': macro redefinition 1> (compiling source file 'file:///sln/client/threads/core/ThClientInformation.cpp') 1> \\192.168.84.1\workspace\develop\wxw\wx\wxWidgets-3.3.3\include\wx\msw\missing.h(368,9): 1> see previous definition of 'INET_E_TERMINATED_BIND' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\urlmon.h(763,9): warning C4005: 'INET_E_ERROR_FIRST': macro redefinition 1> (compiling source file 'file:///sln/client/threads/core/ThClientInformation.cpp') 1> \\192.168.84.1\workspace\develop\wxw\wx\wxWidgets-3.3.3\include\wx\msw\missing.h(284,9): 1> see previous definition of 'INET_E_ERROR_FIRST' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\urlmon.h(764,9): warning C4005: 'INET_E_CODE_DOWNLOAD_DECLINED': macro redefinition 1> (compiling source file 'file:///sln/client/threads/core/ThClientInformation.cpp') 1> \\192.168.84.1\workspace\develop\wxw\wx\wxWidgets-3.3.3\include\wx\msw\missing.h(376,9): 1> see previous definition of 'INET_E_CODE_DOWNLOAD_DECLINED' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\urlmon.h(765,9): warning C4005: 'INET_E_RESULT_DISPATCHED': macro redefinition 1> (compiling source file 'file:///sln/client/threads/core/ThClientInformation.cpp') 1> \\192.168.84.1\workspace\develop\wxw\wx\wxWidgets-3.3.3\include\wx\msw\missing.h(380,9): 1> see previous definition of 'INET_E_RESULT_DISPATCHED' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\urlmon.h(766,9): warning C4005: 'INET_E_CANNOT_REPLACE_SFP_FILE': macro redefinition 1> (compiling source file 'file:///sln/client/threads/core/ThClientInformation.cpp') 1> \\192.168.84.1\workspace\develop\wxw\wx\wxWidgets-3.3.3\include\wx\msw\missing.h(384,9): 1> see previous definition of 'INET_E_CANNOT_REPLACE_SFP_FILE' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\urlmon.h(768,9): warning C4005: 'INET_E_CODE_INSTALL_SUPPRESSED': macro redefinition 1> (compiling source file 'file:///sln/client/threads/core/ThClientInformation.cpp') 1> \\192.168.84.1\workspace\develop\wxw\wx\wxWidgets-3.3.3\include\wx\msw\missing.h(392,9): 1> see previous definition of 'INET_E_CODE_INSTALL_SUPPRESSED' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\urlmon.h(770,9): warning C4005: 'INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY': macro redefinition 1> (compiling source file 'file:///sln/client/threads/core/ThClientInformation.cpp') 1> \\192.168.84.1\workspace\develop\wxw\wx\wxWidgets-3.3.3\include\wx\msw\missing.h(388,9): 1> see previous definition of 'INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\urlmon.h(7134,9): warning C4005: 'INET_E_QUERYOPTION_UNKNOWN': macro redefinition 1> (compiling source file 'file:///sln/client/threads/core/ThClientInformation.cpp') 1> \\192.168.84.1\workspace\develop\wxw\wx\wxWidgets-3.3.3\include\wx\msw\missing.h(348,9): 1> see previous definition of 'INET_E_QUERYOPTION_UNKNOWN' -- 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/c14a0fd8-68bb-4eea-8518-9c95a911ef2cn%40googlegroups.com. ------=_Part_864235_642280955.1776517293683 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div>Hi,</div>Does anyone know how to get rid of the following warnings?<di= v>Are they something that should be solved in the library?<br /><div><br />= </div><div>Visual studio 2026</div><div>MSW SDK:10.0.26100.0</div><div>wx: = v3.3.2</div><div><div><br /></div><div>1>C:\Program Files (x86)\Windows = Kits\10\Include\10.0.26100.0\um\urlmon.h(751,9): warning C4005: 'INET_E_CAN= NOT_LOCK_REQUEST': macro redefinition<br />1> =C2=A0(compiling source fi= le 'file:///sln/client/threads/core/ThClientInformation.cpp')<br />1> = =C2=A0 =C2=A0 =C2=A0\\192.168.84.1\workspace\develop\wxw\wx\wxWidgets-3.3.3= \include\wx\msw\missing.h(360,9):<br />1> =C2=A0 =C2=A0 =C2=A0see previo= us definition of 'INET_E_CANNOT_LOCK_REQUEST'<br />1>C:\Program Files (x= 86)\Windows Kits\10\Include\10.0.26100.0\um\urlmon.h(752,9): warning C4005:= 'INET_E_USE_EXTEND_BINDING': macro redefinition<br />1> =C2=A0(compilin= g source file 'file:///sln/client/threads/core/ThClientInformation.cpp')<br= />1> =C2=A0 =C2=A0 =C2=A0\\192.168.84.1\workspace\develop\wxw\wx\wxWidg= ets-3.3.3\include\wx\msw\missing.h(364,9):<br />1> =C2=A0 =C2=A0 =C2=A0s= ee previous definition of 'INET_E_USE_EXTEND_BINDING'<br />1>C:\Program = Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\urlmon.h(753,9): warnin= g C4005: 'INET_E_TERMINATED_BIND': macro redefinition<br />1> =C2=A0(com= piling source file 'file:///sln/client/threads/core/ThClientInformation.cpp= ')<br />1> =C2=A0 =C2=A0 =C2=A0\\192.168.84.1\workspace\develop\wxw\wx\w= xWidgets-3.3.3\include\wx\msw\missing.h(368,9):<br />1> =C2=A0 =C2=A0 = =C2=A0see previous definition of 'INET_E_TERMINATED_BIND'<br />1>C:\Prog= ram Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\urlmon.h(763,9): wa= rning C4005: 'INET_E_ERROR_FIRST': macro redefinition<br />1> =C2=A0(com= piling source file 'file:///sln/client/threads/core/ThClientInformation.cpp= ')<br />1> =C2=A0 =C2=A0 =C2=A0\\192.168.84.1\workspace\develop\wxw\wx\w= xWidgets-3.3.3\include\wx\msw\missing.h(284,9):<br />1> =C2=A0 =C2=A0 = =C2=A0see previous definition of 'INET_E_ERROR_FIRST'<br />1>C:\Program = Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\urlmon.h(764,9): warnin= g C4005: 'INET_E_CODE_DOWNLOAD_DECLINED': macro redefinition<br />1> =C2= =A0(compiling source file 'file:///sln/client/threads/core/ThClientInformat= ion.cpp')<br />1> =C2=A0 =C2=A0 =C2=A0\\192.168.84.1\workspace\develop\w= xw\wx\wxWidgets-3.3.3\include\wx\msw\missing.h(376,9):<br />1> =C2=A0 = =C2=A0 =C2=A0see previous definition of 'INET_E_CODE_DOWNLOAD_DECLINED'<br = />1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\urlmo= n.h(765,9): warning C4005: 'INET_E_RESULT_DISPATCHED': macro redefinition<b= r />1> =C2=A0(compiling source file 'file:///sln/client/threads/core/ThC= lientInformation.cpp')<br />1> =C2=A0 =C2=A0 =C2=A0\\192.168.84.1\worksp= ace\develop\wxw\wx\wxWidgets-3.3.3\include\wx\msw\missing.h(380,9):<br />1&= gt; =C2=A0 =C2=A0 =C2=A0see previous definition of 'INET_E_RESULT_DISPATCHE= D'<br />1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um= \urlmon.h(766,9): warning C4005: 'INET_E_CANNOT_REPLACE_SFP_FILE': macro re= definition<br />1> =C2=A0(compiling source file 'file:///sln/client/thre= ads/core/ThClientInformation.cpp')<br />1> =C2=A0 =C2=A0 =C2=A0\\192.168= .84.1\workspace\develop\wxw\wx\wxWidgets-3.3.3\include\wx\msw\missing.h(384= ,9):<br />1> =C2=A0 =C2=A0 =C2=A0see previous definition of 'INET_E_CANN= OT_REPLACE_SFP_FILE'<br />1>C:\Program Files (x86)\Windows Kits\10\Inclu= de\10.0.26100.0\um\urlmon.h(768,9): warning C4005: 'INET_E_CODE_INSTALL_SUP= PRESSED': macro redefinition<br />1> =C2=A0(compiling source file 'file:= ///sln/client/threads/core/ThClientInformation.cpp')<br />1> =C2=A0 =C2= =A0 =C2=A0\\192.168.84.1\workspace\develop\wxw\wx\wxWidgets-3.3.3\include\w= x\msw\missing.h(392,9):<br />1> =C2=A0 =C2=A0 =C2=A0see previous definit= ion of 'INET_E_CODE_INSTALL_SUPPRESSED'<br />1>C:\Program Files (x86)\Wi= ndows Kits\10\Include\10.0.26100.0\um\urlmon.h(770,9): warning C4005: 'INET= _E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY': macro redefinition<br />1> =C2= =A0(compiling source file 'file:///sln/client/threads/core/ThClientInformat= ion.cpp')<br />1> =C2=A0 =C2=A0 =C2=A0\\192.168.84.1\workspace\develop\w= xw\wx\wxWidgets-3.3.3\include\wx\msw\missing.h(388,9):<br />1> =C2=A0 = =C2=A0 =C2=A0see previous definition of 'INET_E_CODE_INSTALL_BLOCKED_BY_HAS= H_POLICY'<br />1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.261= 00.0\um\urlmon.h(7134,9): warning C4005: 'INET_E_QUERYOPTION_UNKNOWN': macr= o redefinition<br />1> =C2=A0(compiling source file 'file:///sln/client/= threads/core/ThClientInformation.cpp')<br />1> =C2=A0 =C2=A0 =C2=A0\\192= .168.84.1\workspace\develop\wxw\wx\wxWidgets-3.3.3\include\wx\msw\missing.h= (348,9):<br />1> =C2=A0 =C2=A0 =C2=A0see previous definition of 'INET_E_= QUERYOPTION_UNKNOWN'</div></div></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" 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/c14a0fd8-68bb-4eea-8518-9c95a911ef2cn%40googlegroups.com?utm_mediu= m=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/wx-users/c= 14a0fd8-68bb-4eea-8518-9c95a911ef2cn%40googlegroups.com</a>.<br /> ------=_Part_864235_642280955.1776517293683-- ------=_Part_864234_888804814.1776517293683--