Hi,<br><br>I decided to see how well clang++ currently does at compiling boost.headers on my linux box.<br>So I took all the files from /usr/include/boost and compiled them.<br>In my test it turns out that clang successfully compiled about 80% of the boost headers.<br>
<br>Headers successfully compiled where:<br><br>#include <boost/integer.hpp><br>#include <boost/exception.hpp><br>#include <boost/shared_array.hpp><br>#include <boost/shared_container_iterator.hpp><br>
#include <boost/aligned_storage.hpp><br>#include <boost/shared_ptr.hpp><br>#include <boost/any.hpp><br>#include <boost/foreach.hpp><br>#include <boost/multi_index_container_fwd.hpp><br>#include <boost/signal.hpp><br>
#include <boost/multi_index_container.hpp><br>#include <boost/array.hpp><br>#include <boost/next_prior.hpp><br>#include <boost/signals.hpp><br>#include <boost/noncopyable.hpp><br>#include <boost/smart_cast.hpp><br>
#include <boost/nondet_random.hpp><br>#include <boost/smart_ptr.hpp><br>#include <boost/assert.hpp><br>#include <boost/functional.hpp><br>#include <boost/none.hpp><br>#include <boost/function_equal.hpp><br>
#include <boost/none_t.hpp><br>#include <boost/function.hpp><br>#include <boost/non_type.hpp><br>#include <boost/function_output_iterator.hpp><br>#include <boost/state_saver.hpp><br>#include <boost/operators.hpp><br>
#include <boost/static_assert.hpp><br>#include <boost/static_warning.hpp><br>#include <boost/bind.hpp><br>#include <boost/generator_iterator.hpp><br>#include <boost/optional.hpp><br>#include <boost/strong_typedef.hpp><br>
#include <boost/blank_fwd.hpp><br>#include <boost/get_pointer.hpp><br>#include <boost/blank.hpp><br>#include <boost/call_traits.hpp><br>#include <boost/cast.hpp><br>#include <boost/implicit_cast.hpp><br>
#include <boost/pfto.hpp><br>#include <boost/cerrno.hpp><br>#include <boost/indirect_reference.hpp><br>#include <boost/pointee.hpp><br>#include <boost/throw_exception.hpp><br>#include <boost/checked_delete.hpp><br>
#include <boost/pointer_cast.hpp><br>#include <boost/timer.hpp><br>#include <boost/integer_fwd.hpp><br>#include <boost/pointer_to_other.hpp><br>#include <boost/token_functions.hpp><br>#include <boost/circular_buffer_fwd.hpp><br>
#include <boost/integer.hpp><br>#include <boost/token_iterator.hpp><br>#include <boost/integer_traits.hpp><br>#include <boost/tokenizer.hpp><br>#include <boost/preprocessor.hpp><br>#include <boost/compressed_pair.hpp><br>
#include <boost/intrusive_ptr.hpp><br>#include <boost/program_options.hpp><br>#include <boost/type.hpp><br>#include <boost/concept_archetype.hpp><br>#include <boost/progress.hpp><br>#include <boost/io_fwd.hpp><br>
#include <boost/type_traits.hpp><br>#include <boost/is_placeholder.hpp><br>#include <boost/config.hpp><br>#include <boost/crc.hpp><br>#include <boost/iterator_adaptors.hpp><br>#include <boost/cregex.hpp><br>
#include <boost/iterator.hpp><br>#include <boost/cstdint.hpp>                    <br>#include <boost/cstdlib.hpp><br>#include <boost/last_value.hpp><br>#include <boost/random.hpp><br>#include <boost/utility.hpp><br>
#include <boost/current_function.hpp><br>#include <boost/lexical_cast.hpp><br>#include <boost/limits.hpp><br>#include <boost/range.hpp><br>#include <boost/variant.hpp><br>#include <boost/rational.hpp><br>
#include <boost/make_shared.hpp><br>#include <boost/ref.hpp><br>#include <boost/version.hpp><br>#include <boost/visit_each.hpp><br>#include <boost/math_fwd.hpp><br>#include <boost/mem_fn.hpp><br>
#include <boost/regex.h><br>#include <boost/memory_order.hpp><br>#include <boost/weak_ptr.hpp><br>#include <boost/enable_shared_from_this.hpp><br>#include <boost/scoped_array.hpp><br>#include <boost/scoped_ptr.hpp><br>
#include <boost/exception.hpp><br>#include <boost/regex_fwd.hpp><br><br>The following files failed. Sometimes with assertion failures<br>and somethings with error messages.<br><br>#include <boost/regex.hpp><br>
#include <boost/assign.hpp><br>#include <boost/bimap.hpp><br>#include <boost/thread.hpp><br>#include <boost/spirit.hpp><br>#include <boost/property_map.hpp><br>#include <boost/mpi.hpp><br>
#include <boost/property_map_iterator.hpp><br>#include <boost/unordered_map.hpp><br>#include <boost/parameter.hpp><br>#include <boost/concept_check.hpp><br>#include <boost/format.hpp><br>#include <boost/filesystem.hpp><br>
#include <boost/dynamic_bitset.hpp><br>#include <boost/unordered_set.hpp><br>#include <boost/circular_buffer.hpp><br>#include <boost/date_time.hpp><br>#include <boost/dynamic_property_map.hpp><br>
#include <boost/dynamic_bitset_fwd.hpp><br>#include <boost/multi_array.hpp><br>#include <boost/vector_property_map.hpp><br>#include <boost/asio.hpp><br>#include <boost/python.hpp><br><br>I'll see if I can file bugs where pertinent.<br>
<br>Go Clang!<br>Maurice<br><br>