diff --git a/mesonbuild/interpreter/compiler.py b/mesonbuild/interpreter/compiler.py index eab8607e9..c6d0293b3 100644 --- a/mesonbuild/interpreter/compiler.py +++ b/mesonbuild/interpreter/compiler.py @@ -275,7 +275,7 @@ class CompilerHolder(ObjectHolder['Compiler']): result = self.compiler.alignment(typename, kwargs['prefix'], self.environment, extra_args=kwargs['args'], dependencies=deps) - mlog.log('Checking for alignment of', mlog.bold(typename, True), msg, result) + mlog.log('Checking for alignment of', mlog.bold(typename, True), msg, mlog.bold(str(result))) return result @typed_pos_args('compiler.run', (str, mesonlib.File)) @@ -421,7 +421,7 @@ class CompilerHolder(ObjectHolder['Compiler']): deps, msg = self._determine_dependencies(kwargs['dependencies'], compile_only=self.compiler.is_cross) esize = self.compiler.sizeof(element, kwargs['prefix'], self.environment, extra_args=extra_args, dependencies=deps) - mlog.log('Checking for size of', mlog.bold(element, True), msg, esize) + mlog.log('Checking for size of', mlog.bold(element, True), msg, mlog.bold(str(esize))) return esize @FeatureNew('compiler.get_define', '0.40.0')