Repository navigation
Commit be22322
committed
Fix clang warnings on linux travis build.
By passing the original file to *clang* when the preprocessed file is not
found in the cache. The [-Wself-assign] warnings are caused by macro
expansion in the preprocessed file. *Clang* is smart enough not to emit
false warnings on the original files.
Not necessary for *osx* since the brewfile *ccache* is already at 3.4.1.
Since ccache 3.3 `CCACHE_CPP2` defaults to TRUE. Travis linux however is
still at 3.1.9 hence the need for exporting this variable.1 parent 9eaccb5 commit be22322
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
0 commit comments