[llvm-commits] [llvm] r122648 - /llvm/trunk/cmake/modules/LLVMProcessSources.cmake

Oscar Fuentes ofv at wanadoo.es
Sun Jan 2 04:34:29 PST 2011


Francois Pichet <pichet2000 at gmail.com> writes:

> On Fri, Dec 31, 2010 at 2:10 PM, Oscar Fuentes <ofv at wanadoo.es> wrote:
>
>> Author: ofv
>> Date: Fri Dec 31 13:10:49 2010
>> New Revision: 122648
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=122648&view=rev
>> Log:
>> CMake (MSVC): cmake automatically adds the /EHsc and /GR compiler
>> options. If we are building with exceptions/rtti disabled, we replace
>> /EHsc with /EHs-c- and /GR with /GR-, respectively. If we just add the
>> disabling options we get warnings like this:
>>
>> cl : Command line warning D9025 : overriding '/EHs' with '/EHs-'
>>
>>
> Hi Oscar,
>
> This patch doesn't work for me using MSVC 2008. I get RTTI and exception
> enabled all over again.

Ooops! Please try again.



More information about the llvm-commits mailing list