
19 Dec
2005
19 Dec
'05
1:26 p.m.
Angus Leeming wrote:
Presumably, therefore, the solution is to define BOOST_WARNING(text) which expands to nothing with all compilers except gcc for which it expands to #warning text.
If this works, that would be great.
Macros expanding to a preprocessor directive result in undefined behaviour. Regards Hartmut