Boost C++ Libraries: Ticket #1397: Please embed bogus test code in preprocessor conditionals https://svn.boost.org/trac10/ticket/1397 <p> Hi, </p> <p> I use the Eclipse IDE which marks all files with syntax errors such as boost/tools/regression/test/compile~fail.cpp </p> <p> Since it is expected that this file causes errors it would be nice to embed the faulty code into a conditional such as BOOST_FAULT_TEST which isn't defined by default. </p> <p> Also effected: compile-fail~pass.cpp run-fail~compile-fail.cpp </p> <p> This way I would not have to always check these files. </p> <p> Jens </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1397 Trac 1.4.3 Vladimir Prus Sat, 21 Mar 2009 19:02:47 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1397#comment:1 https://svn.boost.org/trac10/ticket/1397#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> <p> The Eclipse CDT also allows you to exclude files and directories from the build. I think this is what you should do -- the file you mention, and the entire 'tools' directory, is probably not something you plan to do anything with. </p> Ticket