mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 13:27:26 +08:00
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:
@ -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 ()
|
||||
|
Reference in New Issue
Block a user