Boost logo

Boost :

From: Maciej Sobczak (prog_at_[hidden])
Date: 2007-10-04 10:22:43


Maciej Sobczak wrote:

>>> http://www.inspirel.com/vera/
>
>> You might like to add to the default rules a check that all files end in a newline (as required by the C++ Standard).
>
> It is there already, as a built-in rule.

BTW (from 1.34.1):

./libs/iostreams/test/code_converter_test.cpp:337: no newline at end of file
./libs/math/tools/generate_test_values.cpp:32: no newline at end of file
./libs/pool/test/sys_allocator.hpp:100: no newline at end of file
./libs/serialization/test/polymorphic_text_warchive.hpp:18: no newline
at end of file
./libs/spirit/example/intermediate/simple_xml/driver.cpp:45: no newline
at end of file
./libs/spirit/example/intermediate/simple_xml/tag.cpp:46: no newline at
end of file
./libs/spirit/example/intermediate/simple_xml/xml_g.hpp:186: no newline
at end of file
./libs/spirit/fusion/test/insert_tests_mpl.cpp:49: no newline at end of file
./libs/wave/test/testwave/testfiles/t_6_063.hpp:45: no newline at end of
file
./libs/wave/test/testwave/testfiles/t_6_066.hpp:46: no newline at end of
file
./tools/inspect/wrong_line_ends_test.cpp:5: no newline at end of file

Unfortunately, there is (currently) no way to run this built-in rule
alone, so the above is part of some bigger report.

I guess only the last three above were intentional.

-- 
Maciej Sobczak * www.msobczak.com * www.inspirel.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk