Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
Clang CC
l_inc:
yvesdm3000
My pleasure. I want the plugin to work correctly and efficiently almost as much as you do, I guess.
Calmarius:
Will this clang CC solve the build configuration problem?
Most open source projects out there are compiled by the "./configure; make" combo.
And makefiles and configurations can set bazilions preprocessor directives and extra include paths. Can it go through these and still parse correctly?
l_inc:
Calmarius
The configuration you use for editing the source code is not necessarily the one derived by a particular invocation of configure on your system. So it's not the perfect choice to directly rely on it.
As for Clang CC, it relies on the configuration specified in the CB project. If you want the code completion and diagnostics to reflect the full configuration used for building the project, you need to setup the project build options accordingly.
MortenMacFly:
--- Quote from: Calmarius on December 17, 2015, 03:24:35 pm ---Will this clang CC solve the build configuration problem?
Most open source projects out there are compiled by the "./configure; make" combo.
And makefiles and configurations can set bazilions preprocessor directives and extra include paths. Can it go through these and still parse correctly?
--- End quote ---
How should it work? Configure is there to setup the code for your platform and to your needs / options / compilers... So unless you provide magic balls how on earth should any parser know and resolve this?
The only right thing to do it to actually run configure and have the right setup in place.
Alpha:
@yvesdm3000 I have pulled your recent work, and am running into an odd issue. If I type ; or if I press enter, C::B freezes after about 0.5 seconds. However, if C::B is running under gdb, there are no freezes. Is there some additional needed configuration step? (The only local changes I added are for correct paths in the .cbp.)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version