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

Francois Pichet pichet2000 at gmail.com
Sat Jan 1 20:23:50 PST 2011


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110101/8d453b12/attachment.html>


More information about the llvm-commits mailing list