|
Boost : |
From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2005-12-19 07:56:48
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk