boostorg / python

Boost.org python module
http://boostorg.github.io/python
Boost Software License 1.0
465 stars 201 forks source link

'self' hides global declaration #397

Open chcg opened 1 year ago

chcg commented 1 year ago

See https://ci.appveyor.com/project/bruderstein/pythonscript/builds/44940991/job/g43lxe0hqbj7lrhx

C:\projects\pythonscript\packages\boost.1.80.0\lib\native\include\boost\python\object_call.hpp(18,1): warning C4459: declaration of 'self' hides global declaration (compiling source file ..\src\ScintillaWrapper.cpp) [C:\projects\pythonscript\PythonScript\project\PythonScript2010.vcxproj] C:\projects\pythonscript\packages\boost.1.80.0\lib\native\include\boost\python\self.hpp(24,35): message : see declaration of 'boost::python::self_ns::self' (compiling source file ..\src\ScintillaWrapper.cpp) [C:\projects\pythonscript\PythonScript\project\PythonScript2010.vcxproj]

MS VS2022 compiler warning.