Commit 28c54400 authored by Jose Fonseca's avatar Jose Fonseca

scons: Disable MSVC warnings about inconsistent function annotation.

Somehow, merely including any of the *intrin.h headers causes dozens of
this warnings (when compiling pretty much every source file).  MSVC does
not always complain the same -- so it's possible we're doing something
weird --, but silence these warnings in the meanwhile.
Reviewed-by: Brian Paul's avatarBrian Paul <>
parent cb88edbd
......@@ -549,6 +549,7 @@ def generate(env):
env.Append(CCFLAGS = [
#'/analyze:log', '${TARGET.base}.xml',
'/wd28251', # Inconsistent annotation for function
if env['clang']:
# scan-build will produce more comprehensive output
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment