aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/scripts/depscan.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-07-12 22:51:38 -0400
committerEli Schwartz <eschwartz@archlinux.org>2022-07-21 16:45:01 -0400
commit0eed99318b88fbb0c938345e19dc7259cb2ae4b2 (patch)
treecda2da4a67a38e953690910d8992861fa25030d2 /mesonbuild/scripts/depscan.py
parent1f527550c6ac8462f67862d6cfa74340c159c975 (diff)
downloadmeson-0eed99318b88fbb0c938345e19dc7259cb2ae4b2.zip
meson-0eed99318b88fbb0c938345e19dc7259cb2ae4b2.tar.gz
meson-0eed99318b88fbb0c938345e19dc7259cb2ae4b2.tar.bz2
compilers: add logging to obscure compiler defines scraper
If this command fails, for example when CXX is something not generic enough to be a valid universal compiler command (clang -std=c++11 perhaps), we end up with two problems: - it's impossible to figure out what Meson ran to get that error - the error report isn't clear on what is stdout and what is stderr, or even that that is what the message is about. ``` meson.build:1:0: ERROR: Unable to get clang pre-processor defines: error: invalid argument '-std=c++11' not allowed with 'C' ``` What's C doing there and why is Meson talking about it? Answer: that's compiler stdout. Say so.
Diffstat (limited to 'mesonbuild/scripts/depscan.py')
0 files changed, 0 insertions, 0 deletions