Opened 9 years ago
Closed 9 years ago
#12764 closed bug (fixed)
[Patch] Ports.cpp: fix gcc6 build
Reported by: | mt | Owned by: | kallisti5 |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Drivers/Graphics/intel_extreme | Version: | R1/Development |
Keywords: | add-ons/accelerants/intel_extreme | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
Reindent source code, to fix gcc6 '-Werror=misleading-indentation' warnings.
C++ /home/haiku/haiku/haiku/generated-gcc6/objects/haiku/x86/release/add-ons/accelerants/intel_extreme/Ports.o /home/haiku/haiku/haiku/src/add-ons/accelerants/intel_extreme/Ports.cpp: In member function 'status_t Port::SetPipe(Pipe*)': /home/haiku/haiku/haiku/src/add-ons/accelerants/intel_extreme/Ports.cpp:135:5: error: this 'else' clause does not guard... [-Werror=misleading-indentation] else ^~~~ /home/haiku/haiku/haiku/src/add-ons/accelerants/intel_extreme/Ports.cpp:138:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' fPipe = pipe; ^~~~~ cc1plus: all warnings being treated as errors
Attachments (1)
Change History (4)
by , 9 years ago
Attachment: | 0016-Ports.cpp-fix-gcc6-build.patch added |
---|
comment:1 by , 9 years ago
patch: | 0 → 1 |
---|
comment:2 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Pushed in hrev50300 Thanks!
Note:
See TracTickets
for help on using tickets.
+1