Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#3174 closed Feature Requests (fixed)

Inspect tool should identify files not ending in newline

Reported by: Jeremiah Willcock Owned by: Daniel James
Milestone: Boost 1.40.0 Component: inspection script
Version: Boost 1.39.0 Severity: Problem
Keywords: Cc:

Description

Some compilers do not like source and header files that do not end in newlines. There should be an inspect check for this, rather than needing to glean it out of compiler warnings in regression test reports. One example of this to check is boost/graph/metric_tsp_approx.hpp in r53910 (will be fixed in a later checkin).

Change History (3)

comment:1 by Daniel James, 13 years ago

Owner: changed from John Maddock to Daniel James
Status: newassigned

comment:2 by Daniel James, 13 years ago

Resolution: fixed
Status: assignedclosed

(In [53925]) Check that all C and C++ files end with a newline. Fixes #3174

comment:3 by Daniel James, 13 years ago

(In [54409]) Merge inspect check that all C and C++ files end with a newline.

Merged revisions 53923,53925 via svnmerge from https://svn.boost.org/svn/boost/trunk

........

r53923 | danieljames | 2009-06-15 08:32:43 +0100 (Mon, 15 Jun 2009) | 1 line

Use wrong line ends in wrong_line_ends_test.cpp.

........

r53925 | danieljames | 2009-06-15 08:37:59 +0100 (Mon, 15 Jun 2009) | 1 line

Check that all C and C++ files end with a newline. Fixes #3174

........

Note: See TracTickets for help on using tickets.