parent
98c39a184e
commit
8e20be2aea
|
@ -50,26 +50,26 @@
|
|||
// expressions, and preprocessor conditional directives that evaluate
|
||||
// inconsistently, and can produce error messages like the following:
|
||||
//
|
||||
// (...)/SubHeader.h:11:5:
|
||||
// #if SYMBOL == 1
|
||||
// ^
|
||||
// error: Macro instance 'SYMBOL' has different values in this header,
|
||||
// depending on how it was included.
|
||||
// 'SYMBOL' expanded to: '1' with respect to these inclusion paths:
|
||||
// (...)/Header1.h
|
||||
// (...)/SubHeader.h
|
||||
// (...)/SubHeader.h:3:9:
|
||||
// #define SYMBOL 1
|
||||
// ^
|
||||
// Macro defined here.
|
||||
// 'SYMBOL' expanded to: '2' with respect to these inclusion paths:
|
||||
// (...)/Header2.h
|
||||
// (...)/SubHeader.h
|
||||
// (...)/SubHeader.h:7:9:
|
||||
// #define SYMBOL 2
|
||||
// ^
|
||||
// Macro defined here.
|
||||
//
|
||||
// (...)/SubHeader.h:11:5:
|
||||
// #if SYMBOL == 1
|
||||
// ^
|
||||
// error: Macro instance 'SYMBOL' has different values in this header,
|
||||
// depending on how it was included.
|
||||
// 'SYMBOL' expanded to: '1' with respect to these inclusion paths:
|
||||
// (...)/Header1.h
|
||||
// (...)/SubHeader.h
|
||||
// (...)/SubHeader.h:3:9:
|
||||
// #define SYMBOL 1
|
||||
// ^
|
||||
// Macro defined here.
|
||||
// 'SYMBOL' expanded to: '2' with respect to these inclusion paths:
|
||||
// (...)/Header2.h
|
||||
// (...)/SubHeader.h
|
||||
// (...)/SubHeader.h:7:9:
|
||||
// #define SYMBOL 2
|
||||
// ^
|
||||
// Macro defined here.
|
||||
//
|
||||
// See PreprocessorTracker.cpp for additional details.
|
||||
//
|
||||
// Current problems:
|
||||
|
|
Loading…
Reference in New Issue