]>
git.ipfire.org Git - thirdparty/ccache.git/commit
Add test for certain gcc compilers with buggy cpp
The preprocessor in later gcc versions is buggy,
returning extra lines and different "line numbers":
# 1 "<built-in>"
# 1 "<command-line>"
# 31 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 32 "<command-line>" 2
But it only does this when there are no macros,
otherwise (with -D) it returns the regular output:
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 1 "<command-line>" 2