FTBFS with GCC 6: statement indented as if it were guarded by...

Bug #1537161 reported by Stephen M. Webb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Grail
Fix Released
Medium
Stephen M. Webb
grail (Debian)
Fix Released
Unknown

Bug Description

This package fails to build with GCC 6.

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -Wall -Werror -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o grail-test-atomic.o grail-test-atomic.c
> grail-test-atomic.c: In function 'process_frame_events':
> grail-test-atomic.c:151:11: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation]
> subscribe(grail_handle, device, subscribe_window, subscriptions, 3,
> ^~~~~~~~~
>
> grail-test-atomic.c:148:9: note: ...this 'else' clause, but it is not
> else
> ^~~~
>

Related branches

Changed in grail (Debian):
status: Unknown → New
Stephen M. Webb (bregma)
Changed in grail:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Stephen M. Webb (bregma)
milestone: none → 3.1.1
Stephen M. Webb (bregma)
Changed in grail:
status: Triaged → In Progress
Changed in grail (Debian):
status: New → Confirmed
Stephen M. Webb (bregma)
Changed in grail:
status: In Progress → Fix Committed
Stephen M. Webb (bregma)
Changed in grail:
status: Fix Committed → Fix Released
Changed in grail (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.