Displaying 1 result from an estimated 1 matches for "svn369350".
2019 Nov 22
2
Potential problem with -Wunreachable-code
...We use distcc with clang++ and I have recently added -Wunreachable-code
to our set of warnings. The problem I am seeing is the compile fails
with (valid) unreachable code warnings on the slave, but passes (no
warning) locally. All machines have the same compiler version
clang version 8.0.1-svn369350-1~exp1~20190820121219.79 (branches/release_80)
Distcc takes the compile line, removes -o <output> and replaces it with
-E and sends the preprocessed result to the slave where it is compiled
without any -I, -isystem or -D options. Generating the preprocessed
output and compiling it locally...