Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Several improvements to Code Completion plugin
SteelRat:
And can you create control to define defines :) that are already defined in the compiler? __MSVC__, for example, or ANDROID (__ANDROID__) that is hardcoded in Android's NDK toolchains. There no need to REALLY define them via command line, but just to let CC know that selected compiler has global defines.
Or it can be not the GUI control but part of XML description of compiler - it will be even better.
MortenMacFly:
--- Quote from: SteelRat on August 30, 2014, 03:47:15 pm ---__MSVC__, for example, or ANDROID (__ANDROID__) that is hardcoded in Android's NDK toolchains.
--- End quote ---
For MSVC and GCC based compilers we collect these by running the compiler with a NULL file having it output exactly those platform defines. This should work. So this should actually not be an issue.
oBFusCATed:
Does this happen for clang and intel's compiler?
SteelRat:
--- Quote from: MortenMacFly on August 30, 2014, 05:27:19 pm ---For MSVC and GCC based compilers we collect these by running the compiler with a NULL file having it output exactly those platform defines. This should work. So this should actually not be an issue.
--- End quote ---
Well it does not work with Android's GCC.
MortenMacFly:
--- Quote from: oBFusCATed on August 30, 2014, 05:50:40 pm ---Does this happen for clang and intel's compiler?
--- End quote ---
I should check again, but most likely not.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version