Closed e2002e closed 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")
string(APPEND CMAKE_CXX_FLAGS " -fpermissive")
and it compiles with the above error being a warning.
Thanks for the report. It's fixed in the mentioned commit.
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.