Major upgrade to Boost.Config symbol visibility macros for shared libraries, based on patches from Jürgen Hunold with mods by Beman Dawes. Upgrade Boost.System to use the new visibility macros. Fixes #3697 and provides foundation for fixing 2114, 2309, etc.

[SVN r62140]
This commit is contained in:
Beman Dawes
2010-05-22 12:12:00 +00:00
parent ae67c86d2b
commit 2bb0075e3f
13 changed files with 193 additions and 70 deletions

View File

@@ -59,6 +59,12 @@ namespace
int main( int, char ** )
{
std::cout << "Conversion use cases...\n";
error_condition x1( errc::file_exists );
//error_code x2( errc::file_exists ); // should fail to compile
make_error_code(errc::file_exists);
make_error_condition(errc::file_exists);
std::cout << "General tests...\n";
// unit tests: