AnsweredAssumed Answered

how do I generate a list of preprocessor defined macro values?

Question asked by bbaylor on May 5, 2010
Latest reply on May 6, 2010 by rst

I'm trying to run lint (static analysis) on my project and it would be helpful to have VDSP generate a list of the preprocessor defines in effect during compile. I've come up with a few of them by guess and by golly:

-d__ADSPBLACKFIN__=1
-d__ADSPLPBLACKFIN__=1
-d__ADSPBF53x__=1
-d__ADSPBF532__
-d__ANALOG_EXTENSIONS__=1
-d_HAS_NAMESPACE=0
-d__ECC__=1
-d__EDG__=1
-d__EDG_VERSION__=1
-d_LANGUAGE_C=1
-d__DOUBLES_ARE_FLOATS__=1

 

-d__VISUALDSPVERSION__=0x05000700
-d_ADI_THREADS

but I'm not too confident that I have them all even for a small test project.

I'm using VDSP 5 update 7

TIA,

Bob

Outcomes