This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug build/20029] New: symfile.c ambiguous else warning
- From: "nightstrike at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 01 May 2016 19:58:25 +0000
- Subject: [Bug build/20029] New: symfile.c ambiguous else warning
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20029
Bug ID: 20029
Summary: symfile.c ambiguous else warning
Product: gdb
Version: 7.11
Status: NEW
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: nightstrike at gmail dot com
Target Milestone: ---
Saw these warnings during build:
../../../gdb/gdb/symfile.c: In function 'find_pc_overlay':
../../../gdb/gdb/symfile.c:3295:6: warning: suggest explicit braces to avoid
ambiguous 'else' [-Wparentheses]
if (overlay_debugging)
^
../../../gdb/gdb/symfile.c: In function 'find_pc_mapped_section':
../../../gdb/gdb/symfile.c:3322:6: warning: suggest explicit braces to avoid
ambiguous 'else' [-Wparentheses]
if (overlay_debugging)
^
../../../gdb/gdb/symfile.c: In function 'list_overlays_command':
../../../gdb/gdb/symfile.c:3340:6: warning: suggest explicit braces to avoid
ambiguous 'else' [-Wparentheses]
if (overlay_debugging)
^
--
You are receiving this mail because:
You are on the CC list for the bug.