[cfe-dev] Visual Studio file end build error patch

Douglas Gregor dgregor at apple.com
Wed Oct 7 07:45:01 PDT 2009


On Oct 6, 2009, at 5:35 PM, Chris Lattner wrote:

>
> On Oct 6, 2009, at 4:39 PM, Mike Stump wrote:
>
>> On Oct 6, 2009, at 4:26 PM, John Thompson wrote:
>>> VC++ has a problem with there being no new line at the end of the
>>> file, resulting in "unexpected end of file" build errors.  The
>>> enclosed patch fixes the ones I see.
>>
>> Fixed.  I have a dream, one day we'll have a build verifier for the
>> simple to check style things.  :-)
>
> Impossible!  That would require a C++ frontend that you could reuse as
> a library!


... or a trivial Subversion pre-commit hook.

	- Doug



More information about the cfe-dev mailing list