diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-01-13 14:40:11 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-01-13 14:40:11 +0000 |
commit | e4241ace685d9886c14f1362e1e1783129774b7c (patch) | |
tree | 876fb3bbcff435bdafa6f935e383eb34b78e9165 /gdb/python | |
parent | 9608051a0eba6303adcadff7d09b70a36067fba3 (diff) | |
download | binutils-e4241ace685d9886c14f1362e1e1783129774b7c.zip binutils-e4241ace685d9886c14f1362e1e1783129774b7c.tar.gz binutils-e4241ace685d9886c14f1362e1e1783129774b7c.tar.bz2 |
'make check-headers' for c++ header
If I run 'make check-headers', I get these errors,
....
In file included from ../../binutils-gdb/gdb/common/common-defs.h:78:0,
from ../../binutils-gdb/gdb/defs.h:28,
from <command-line>:0:
../../binutils-gdb/gdb/common/common-utils.h:23:18: fatal error: string: No such file or directory
#include <string>
^
because we still parse headers as c file with a c compiler, which is no
longer true after we moved to C++. This patch changes it to use C++
compiler and parse headers as c++ headers.
gdb:
2017-01-13 Yao Qi <yao.qi@linaro.org>
* Makefile.in (checker-headers): Use CXX and CXX_DIALET instead
of CC. Pass "-x c++-header" instead of "-x c".
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions