Re: Building Boost without RTTI
Marco Strohner via Boost-build <[email protected]>
| Newsgroups | gmane.comp.lib.boost.build |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm using "bjam" to build boost on Windows without RTTI but maybe this helps. I added following defines: define=BOOST_NO_RTTI define=BOOST_NO_TYPEID And disabled RTTI usage for Visual Studio: cxxflags=/GR- But some boost libraries aren't compilable without RTTI but you will get corresponding error messages if you try to compile these libraries. Regards Marco -----Ursprüngliche Nachricht----- Von: Boost-build [mailto:[email protected]] Im Auftrag von Lucas Le Gouic via Boost-build Gesendet: Mittwoch, 21. März 2018 16:03 An: [email protected] Cc: Lucas Le Gouic <[email protected]> Betreff: [Boost-build] Building Boost without RTTI Hello, I'm trying to build boost 1.66 libraries without RTTI on Windows 10 using MSVC compiler and b2.exe Following this documentation: http://www.boost.org/doc/libs/1_66_0/more/getting_started/windows.html#prepare-to-use-a-boost-library-binary I've successfully built boost using "b2 toolset=msvc --build-type=complete stage" but RTTI are enabled by default from what I understood and my project requier RTTI to be disabled. However, I can't find any option to do this in b2.exe --help. Thanks, Lucas _______________________________________________ Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build _______________________________________________ Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build