Xcode 4, warnings and MinGW

Added separate Xcode 4 project.
Fixed some warnings.
Fixed OutputDebugString decl for MinGW
This commit is contained in:
Phil Nash
2011-12-27 10:59:41 +00:00
parent f7e2777665
commit 458e5eec16
27 changed files with 559 additions and 11 deletions

View File

@@ -142,17 +142,20 @@ namespace B {
int c;
};
}
bool operator==(const A::X& lhs, const B::Y& rhs)
inline bool operator==(const A::X& lhs, const B::Y& rhs)
{
return (lhs.a == rhs.a);
}
bool operator==(const B::Y& lhs, const A::X& rhs)
inline bool operator==(const B::Y& lhs, const A::X& rhs)
{
return (lhs.a == rhs.a);
}
///////////////////////////////////////////////////////////////////////////////
/* This, currently, does not compile with LLVM
TEST_CASE
(
"./succeeding/koenig",
@@ -163,7 +166,7 @@ TEST_CASE
B::Y y;
REQUIRE( x == y );
}
*/
namespace ObjectWithConversions
{