diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2018-07-13 22:06:34 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2018-07-13 22:06:34 -0400 |
commit | ff27d0737ef0c9433a6a7c83c1e678ac57a27699 (patch) | |
tree | 5c0ca6563e59b8b7831c3d24ea9654acd18612b3 /gdb/ChangeLog | |
parent | 1e65a4a40e778e1eb58fb5d3b8d00be879f7ee63 (diff) | |
download | gdb-ff27d0737ef0c9433a6a7c83c1e678ac57a27699.zip gdb-ff27d0737ef0c9433a6a7c83c1e678ac57a27699.tar.gz gdb-ff27d0737ef0c9433a6a7c83c1e678ac57a27699.tar.bz2 |
Remove struct keyword in range-based for loop
Fix this with gcc 6.3.0:
/home/simark/src/binutils-gdb/gdb/symfile.c: In function 'void set_objfile_default_section_offset(objfile*, const section_addr_info&, CORE_ADDR)':
/home/simark/src/binutils-gdb/gdb/symfile.c:2114:14: error: types may not be defined in a for-range-declaration [-Werror]
for (const struct other_sections *objf_sect : objf_addrs_sorted)
^~~~~~
gdb/ChangeLog:
* symfile.c (set_objfile_default_section_offset): Remove struct
keyword.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d4b0eb1..ba4eba7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2018-07-13 Simon Marchi <simon.marchi@polymtl.ca> + + * symfile.c (set_objfile_default_section_offset): Remove struct + keyword. + 2018-07-14 Stafford Horne <shorne@gmail.com> * (Responsible Maintainers): Add myself as or1k maintainer. |