This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: TI C/C++ Compiler
Hi
I previously used compiler version 7.4.17
It had the following GNUC symbols
_GNUC_ = 3
_GNUC_MINOR = 0
If i change the compiler version to 8.1.3 I have the following:
_GNUC_GNU_INLINE = 1
_GNUC_MINOR = 3
_GNUC_PATCHLEVEL = 0
A lot of code is dependent on preprocessor _GNUC_
What can I do to get it (besides defining it myself)
If only defining it by myself is an option than : What is the GNUC version? for this compiler
Also i noticed that a few of my projects don't show all of the built in symbols (even though the show built in symbols is turned on) however the symbols are defined. I checked in the code. Any idea why?
Which version of CCS are you using, and are you running CCS under Windows or Linux?Shiran Ben Israel said:Also i noticed that a few of my projects don't show all of the built in symbols (even though the show built in symbols is turned on) however the symbols are defined. I checked in the code. Any idea why?
I have seen that problem before, whereby the CCS indexer doesn't pick up the compiler pre-defined symbols.
The last time I checked with CCS running under Windows saw the problem in CCS 6.2.0.00050, but not in CCS 7.1.0.00016 - see https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/589392
I assume it is the following properties, part of the advanced settings:Archaeologist said:Is this something in the Code Composer code view window?
Where the above list of pre-defined symbols is generated by CCS executing a command to get the compiler to report the built-in symbols, and the list of built-in symbols is then used by the CCS indexer.
bellow is a snapshot from two projects which are very much alike and yet the pre-processor values that are shown in one, are missing from another
i think it is more of a visual issue than a real problem, since the pre-processors that are shown in the full project are defined in the missing project as well, they are just not shown
this is an example of a project that looks like it is missing symbols
This thread is moving to the Code Composer Studio forum for further discussion.
Thanks and regards,
-George