automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Support more C++ extensions for MSVC in the compile script.


From: Peter Rosin
Subject: [PATCH] Support more C++ extensions for MSVC in the compile script.
Date: Fri, 13 Aug 2010 15:37:59 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2

Hi!

This is one of the last bits of functionality from the (dwindling)
pr-msvc-support branch in Libtool (the remaining bit is triggering
the ar-lib script with a new macro and some things related to that).

MSVC only recognizes .c and .cpp as source files, if you say e.g.
foo.cc, it will treat it as an object file. Many projects do not use
.cpp for its C++ files, so this patch will make it work for a bunch
of more projects.

I have not added .C to the list of C++ extensions as Windows typically
has a case insensitive file system, and then you don't know if the
user meant C or C++...

Ok for the msvc branch?

Cheers,
Peter

Attachment: 0001-Support-more-C-extensions-for-MSVC-in-the-compile-sc.patch.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]