gdb.python/py-as-string.exp C++ify
Make the testcase buildable with a C++ compiler. gdb/testsuite/ChangeLog: * gdb.python/py-as-string.c: Add cast.
This commit is contained in:
parent
ef0cdbc16f
commit
0640a54339
@ -1,3 +1,7 @@
|
||||
2020-09-17 Pedro Alves <pedro@palves.net>
|
||||
|
||||
* gdb.python/py-as-string.c: Add cast.
|
||||
|
||||
2020-09-17 Pedro Alves <pedro@palves.net>
|
||||
|
||||
* gdb.base/sizeof.c (fill): Add cast.
|
||||
|
@ -23,7 +23,7 @@ enum EnumType {
|
||||
};
|
||||
|
||||
static enum EnumType enum_valid = ENUM_VALUE_B;
|
||||
static enum EnumType enum_invalid = 20;
|
||||
static enum EnumType enum_invalid = (enum EnumType) 20;
|
||||
|
||||
int
|
||||
main ()
|
||||
|
Loading…
Reference in New Issue
Block a user