Opened 15 years ago
Closed 14 years ago
#1397 closed Feature Requests (wontfix)
Please embed bogus test code in preprocessor conditionals
Reported by: | Owned by: | ||
---|---|---|---|
Milestone: | To Be Determined | Component: | Building Boost |
Version: | Boost 1.34.1 | Severity: | Cosmetic |
Keywords: | Cc: | jensseidel@… |
Description
Hi,
I use the Eclipse IDE which marks all files with syntax errors such as boost/tools/regression/test/compile~fail.cpp
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.
Also effected: compile-fail~pass.cpp run-fail~compile-fail.cpp
This way I would not have to always check these files.
Jens
Note:
See TracTickets
for help on using tickets.
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.