Boost logo

Boost :

From: Paul A Bristow (pbristow_at_[hidden])
Date: 2007-10-05 05:43:23


 

>-----Original Message-----
>From: boost-bounces_at_[hidden]
>[mailto:boost-bounces_at_[hidden]] On Behalf Of Maciej Sobczak
>Sent: 04 October 2007 15:23
>To: boost_at_[hidden]
>Subject: Re: [boost] Vera++
>
>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.

Hmmm - I could see it getting lost in the barrage of nags!

>I guess only the last three above were intentional.

Useful - though I also wonder if this trivial but annoying detail could/should be checked by SVN?

Paul

---
Paul A Bristow
Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB
+44 1539561830 & SMS, Mobile +44 7714 330204 & SMS
pbristow_at_[hidden]
 

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