
David Abrahams <dave@boost-consulting.com> writes:
"Robert Ramey" <ramey@rrsd.com> 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