aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2018-06-10 22:33:37 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2018-06-10 22:34:08 -0400
commit71b73764977a3895b0dda3e7260eece7a8d3e60c (patch)
treefe1e3260dd69797ea2ff4765054b0b00e00844fb /binutils
parent65a68903e2294fcd1a5496a4fe467a5b28dc0f27 (diff)
downloadgdb-71b73764977a3895b0dda3e7260eece7a8d3e60c.zip
gdb-71b73764977a3895b0dda3e7260eece7a8d3e60c.tar.gz
gdb-71b73764977a3895b0dda3e7260eece7a8d3e60c.tar.bz2
Remove more "struct" keywords in range-based for loops
GCC 6.3.0 produces this kind of errors: CXX dwarf2read.o /home/simark/src/binutils-gdb/gdb/dwarf2read.c: In function 'void process_cu_includes(dwarf2_per_objfile*)': /home/simark/src/binutils-gdb/gdb/dwarf2read.c:10220:8: error: types may not be defined in a for-range-declaration [-Werror] for (struct dwarf2_per_cu_data *iter : dwarf2_per_objfile->just_read_cus) ^~~~~~ Removing the struct keyword makes it happy. gdb/ChangeLog: * dwarf2read.c (process_cu_includes): Remove struct keyword. * serial.c (serial_interface_lookup): Remove struct keyword.
Diffstat (limited to 'binutils')
0 files changed, 0 insertions, 0 deletions