This example is taken from the C++ standard when discussing the rules for redefinition and reexamination. Given:
#define str(x) # x
the macrto expansion of:
char c[2][6] = { str(hello), str() };
should be:
char c[2][6] = { "hello", "" };
but with Intel C++ 19.0 on Windows the expansion is erroneously:
char c[2][6] = { "hello", };
This is clearly a bug in the preprocessor so I am reporting it here.
TCE Open Date:
Wednesday, November 13, 2019 - 20:10