A few more lgtm fixes.

pull/2111/merge
Jussi Pakkanen 7 years ago
parent 6d939c6737
commit d335a84b9e
  1. 1
      mesonbuild/compilers/cpp.py
  2. 1
      mesonbuild/interpreter.py
  3. 2
      mesonbuild/modules/gnome.py

@ -175,7 +175,6 @@ class IntelCPPCompiler(IntelCompiler, CPPCompiler):
class VisualStudioCPPCompiler(VisualStudioCCompiler, CPPCompiler):
def __init__(self, exelist, version, is_cross, exe_wrap, is_64):
self.language = 'cpp'
CPPCompiler.__init__(self, exelist, version, is_cross, exe_wrap)
VisualStudioCCompiler.__init__(self, exelist, version, is_cross, exe_wrap, is_64)
self.base_options = ['b_pch'] # FIXME add lto, pgo and the like

@ -2049,6 +2049,7 @@ class Interpreter(InterpreterBase):
# we won't actually read all the build files.
return fallback_dep
if not dep:
assert(exception is not None)
raise exception
# Only store found-deps in the cache

@ -984,7 +984,7 @@ class GnomeModule(ExtensionModule):
cmd += ['--prefix', value]
elif arg == 'extra_args':
if new_genmarshal:
cmd += mesonlib.stringlistify(value, [])
cmd += mesonlib.stringlistify(value)
else:
mlog.warning('The current version of GLib does not support extra arguments \n'
'for glib-genmarshal. You need at least GLib 2.53.3. See ',

Loading…
Cancel
Save