id summary reporter owner description type status milestone component version severity resolution keywords cc 3346 enum_t in scoped_enum_emulation.hpp conflicts with system header Matthias Troyer Beman Dawes "The UNIX system header defines a macro #define enum_t int This clashes with the enum_t member in boost/detail/scoped_enum_emulation.hpp As a consequence there is a compilation error in Boost.Filesystem if any of the RPC headers is included before boost/filesystem/operations.hpp This is a regression that can easily be fixed by renaming enum_t to enum_type in boost/detail/scoped_enum_emulation.hpp the test program is trivial: #include #include " Bugs closed Boost 1.40.0 filesystem Boost Release Branch Regression fixed