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.

TM4C1231H6PM: Getting rid of '#179-D variable "..." was declared but never referenced'

Part Number: TM4C1231H6PM

I have a number of const "variables" for things like the flag bits in a register, I define all of them but some I don't use, which generates a bunch of 179-D error messages.

I was able to get rid this error from actual variables that are being used as a Bit Bucket by declaring them volatile, any ways to do this for const values?

Thanks

Doug