|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2006-05-24 19:18:36
David Abrahams <dave_at_[hidden]> writes:
> "Robert Ramey" <ramey_at_[hidden]> writes:
>
>> can the export.hpp be replaced with something like
>>
>> #if msvc 6
>> #include old_export.hpp
>> #else
>> ... new code here or new export
>> #endif
>>
>> That way vc6 is still supported subject to the header ordering
>> restriction while for other compilers the restriction is eliminated.
>
> Yes, that's possible. It leaves an unfortunate quantity of cruft in
> the code, but what can you do? I guess you could think really hard
> about dropping vc6 support.
>
> I should warn you: supporting broken compilers is an addictive habit
> that's hard to break. But I've found it's worth breaking in the end
> ;-)
Fortunately I found a workaround. See my other posting.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk