For others just glancing at this, this pertains to the Mesa Demos repo, not Mesa.

Reviewed-by: Brian Paul <>

On 03/12/2018 03:19 AM, Jose Fonseca wrote:
It has been broken for a while, and not much interest from our side
in keeping it going, as most of us are using MinGW cross-compilers

I'm not sure if there are other people interested on MSVC, so just
warn for the time being.

Also tone down the MSVC warnings, so they don't overwhelm the error
  CMakeLists.txt | 4 ++++
  1 file changed, 4 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index aaa5329c..1f63316d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -108,13 +108,17 @@ if (WIN32)
  endif (WIN32)
if (MSVC)
+       message (WARNING "MSVC builds are unmainted.  MinGW-w64 is 
        # Enable math constants defines
        add_definitions (-D_USE_MATH_DEFINES)
# Silence several MSVC pedantic warnings
+       add_definitions (-wd4018) # signed/unsigned mismatch
        add_definitions (-wd4244) # conversion' conversion from 'type1' to 
'type2', possible loss of data
+       add_definitions (-wd4305) # truncation from 'type1' to 'type2'
# Use static runtime

mesa-dev mailing list

Reply via email to