diff --git a/separate_compilation.html b/separate_compilation.html index 77fe8c0..990e6a7 100644 --- a/separate_compilation.html +++ b/separate_compilation.html @@ -76,7 +76,7 @@ compiler ABI settings.
Boost.config provides the macro BOOST_HAS_ABI_HEADERS which is set whenever there are prefix and suffix headers available for the compiler in use, typical - usage is like this:
+ usage in a header like this:#ifndef BOOST_WHATEVER_HPP #define BOOST_WHATEVER_HPP @@ -103,6 +103,10 @@ whatever get_whatever(); #endif+
You can include this code in your source files as well if you want - although + you probably shouldn't need to - these headers fix the ABI to the default used + by the compiler, and if the user attempts to compile the source with any other + setting then they will get compiler errors if there are any conflicts.
Without some means of managing this issue, users often report bugs along the line of "Your silly library always crashes when I try and call it" and so on.