10-23-2018 11:57 AM
#define FOO 1
#define FOO 0.9
I had the above definitions in my code and cvi didn't complain while compiling, I thought it would, Can someone explain?
Thank you
10-24-2018 03:28 AM
To get a warning for this you need to enable "Macro redefined" warning.
Options>>Build Options. Click on the "..." button in Compile Warnings section and check "Macro redefined" in Compilers Warnings dialog.