Xcode code completion and syntax highlighting not working after adding "other c flags" and "other linker flags" -
i trying embed python c++ project in xcode 8.1.
i added following target build settings:
other c flags:
-i/library/frameworks/python.framework/versions/2.7/include/python2.7 -i/library/frameworks/python.framework/versions/2.7/include/python2.7 -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -dndebug -g -fwrapv -o3 -wall -wstrict-prototypes
other linker flags:
-l/library/frameworks/python.framework/versions/2.7/lib/python2.7/config -lpython2.7 -ldl -framework corefoundation
i got these flags putting "python2.7-config --cflags" , "python2.7-config --ldflags" terminal.
i include "python/python.h" in c++ code.
everything compiles , runs without errors. lose code completion , syntax highlighting (basic types , keywords still highlight nothing else does).
how code completion working again?
fix:
managed code completion working again removing "other c flags". project still builds without issue , seems working expected.
Comments
Post a Comment