This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/20029] New: symfile.c ambiguous else warning


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]