[llvm-commits] [llvm] r90251 - /llvm/trunk/CMakeLists.txt

Sandeep Patel deeppatel1987 at gmail.com
Tue Dec 1 13:07:31 PST 2009


It seems a shame to lose all that information from another front-end.
Perhaps an MSVC user could dump all the warnings into a bugzilla
report?

deep

On Tue, Dec 1, 2009 at 7:11 PM, Daniel Dunbar <daniel at zuster.org> wrote:
> Author: ddunbar
> Date: Tue Dec  1 13:11:36 2009
> New Revision: 90251
>
> URL: http://llvm.org/viewvc/llvm-project?rev=90251&view=rev
> Log:
> Don't default warnings to ON on MSVC, the spew is enough to triple the build time. :/
>
> Modified:
>    llvm/trunk/CMakeLists.txt
>
> Modified: llvm/trunk/CMakeLists.txt
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=90251&r1=90250&r2=90251&view=diff
>
> ==============================================================================
> --- llvm/trunk/CMakeLists.txt (original)
> +++ llvm/trunk/CMakeLists.txt Tue Dec  1 13:11:36 2009
> @@ -191,7 +191,13 @@
>  add_llvm_definitions( -D__STDC_LIMIT_MACROS )
>  add_llvm_definitions( -D__STDC_CONSTANT_MACROS )
>
> -option(LLVM_ENABLE_WARNINGS "Enable compiler warnings." ON)
> +# MSVC has a gazillion warnings with this.
> +if( MSVC )
> +  option(LLVM_ENABLE_WARNINGS "Enable compiler warnings." OFF)
> +else( MSVC )
> +  option(LLVM_ENABLE_WARNINGS "Enable compiler warnings." ON)
> +endif()
> +
>  option(LLVM_ENABLE_PEDANTIC "Compile with pedantic enabled." ON)
>  option(LLVM_ENABLE_WERROR "Fail and stop if a warning is triggered." OFF)
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>




More information about the llvm-commits mailing list