Added minimal Docs for new macros and headers (abi fixing/link library selection/BOOST_HAS_DECLS|PEC), more to come on this...

Added test cases for new macros and headers.


[SVN r19655]
This commit is contained in:
John Maddock
2003-08-17 12:03:01 +00:00
parent e620ac24ab
commit 80b14ea8a8
23 changed files with 3583 additions and 31 deletions
+29
View File
@@ -0,0 +1,29 @@
// (C) Copyright John Maddock 2003. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// See http://www.boost.org for the most recent version.
//
// before we do anything else, we need to mess with the compilers ABI:
//
#ifdef _MSC_VER
#pragma pack(1)
#elif defined(__BORLANDC__)
#pragma option -Ve- -Vx- -a1 -b-
#endif
#include <stdio.h>
#include "abi_test.hpp"
int main()
{
abi_test t;
if((t.inline_one() != t.virtual_one()) || (t.inline_two() != t.virtual_two()))
{
fwrite("Failed ABI test", 1, 15, stdout);
return -1;
}
return 0;
}