UPBGE / upbge

UPBGE, the best integrated game engine in Blender
https://upbge.org
Other
1.43k stars 180 forks source link

Error when building -fpermissive #1832

Closed e2002e closed 1 year ago

e2002e commented 1 year ago

upbge/source/blender/python/generic/bpy_internal_import.cc:259:20: error: ‘bpy_import_meth’ was declared ‘extern’ and later ‘static’ [-fpermissive]

I'm passing -fpermissive by modifiying CMakeList.txt in the "generic" folder with string(APPEND CMAKE_CXX_FLAGS " -fpermissive")

and it compiles with the above error being a warning.

youle31 commented 1 year ago

Thanks for the report. It's fixed in the mentioned commit.