Show/Hide Toolbars

XSharp

Duplicate define with different value detected '{0}', {1} <=> {2}

 

 

This warning is generated when a second define was found with a different value.

Please note that the preprocessor does not "evaluate" the contents of the define. It does a strict text comparison.

So "1" is not the same as "1L" or "1U'

 

#define MYDEFINE 1

#define MYDEFINE 1U                // Warning XS9012