
19 Dec
2005
19 Dec
'05
12:56 p.m.
Angus Leeming wrote:
Markus Schöpflin wrote:
I don't think this will help, because the preprocessor seems to scan the whole file.
Interesting. We've used that solution for ever with LyX and I never had a problem with my (admittedly old) version of DEC's cxx. That machine is now history however.
I bet you don't use -std strict_ansi, or do you?
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. Markus