Opened 9 years ago
Closed 9 years ago
#12765 closed bug (fixed)
[Patch] nv_acc_dma.c: fix gcc6 build
Reported by: | mt | Owned by: | rudolfc |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Drivers/Graphics/nVidia | Version: | R1/Development |
Keywords: | add-ons/accelerants/nvidia | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
Remove ";" after for() at line 680.
Cc /home/haiku/haiku/haiku/generated-gcc6/objects/haiku/x86/release/add-ons/accelerants/nvidia/engine/nv_acc_dma.o /home/haiku/haiku/haiku/src/add-ons/accelerants/nvidia/engine/nv_acc_dma.c: In function 'nv_acc_init_dma': /home/haiku/haiku/haiku/src/add-ons/accelerants/nvidia/engine/nv_acc_dma.c:680:4: error: this 'for' clause does not guard... [-Werror=misleading-indentation] for (cnt = 0; (tmp && !(tmp & 0x00000001)); tmp >>= 1, cnt++); ^~~ /home/haiku/haiku/haiku/src/add-ons/accelerants/nvidia/engine/nv_acc_dma.c:681:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' { ^ cc1: all warnings being treated as errors
Attachments (1)
Change History (3)
by , 9 years ago
Attachment: | 0017-nv_acc_dma.c-fix-gcc6-build.patch added |
---|
comment:1 by , 9 years ago
patch: | 0 → 1 |
---|
comment:2 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Applied in hrev50308. Thanks!