Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: RE: Compiler warning in CCS

$
0
0

You can't create a preprocessor symbol with a period in the name.  Only letters, numbers, and underscore are allowed.  Thus, you are defining the preprocessor symbol named "Fapi_GlobalInit" with the value ".m_poFlashControlRegisters (FLASH_CONTROL_REGISTER)", which is surely not what you want.  Change the code so that it looks something like this:

#if NEW_WAY #define MY_FLASH_CONTROL_REGISTER FLASH_CONTROL_REGISTER #else #define MY_FLASH_CONTROL_REGISTER Fapi_GlobalInit.m_poFlashControlRegisters #endif

Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>