Project

General

Profile

Bug #11009

GCC6: rawspeed build failure

Added by Roman Lebedev over 2 years ago. Updated almost 2 years ago.

Status:
Fixed
Priority:
Medium
Category:
-
Target version:
Start date:
04/26/2016
Due date:
% Done:

100%

Affected Version:
git development version
System:
all
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Posting 441005 from anonymous posted at 2016-04-26 08:30:57 expires: 2016-04-27 08:30:57
[ 6%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/OrfDecoder.cpp.o
/home/lebedevri/darktable/src/external/rawspeed/RawSpeed/OrfDecoder.cpp: In member function ‘void RawSpeed::OrfDecoder::decodeCompressed(RawSpeed::ByteStream&, RawSpeed::uint32, RawSpeed::uint32)’:
/home/lebedevri/darktable/src/external/rawspeed/RawSpeed/OrfDecoder.cpp:125:5: error: this ‘for’ clause does not guard... [-Werror=misleading-indentation]
for (high = 0; high < 12; high++)
^~
/home/lebedevri/darktable/src/external/rawspeed/RawSpeed/OrfDecoder.cpp:128:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
bittable[i] = min(12,high);
^~~~~~
~
cc1plus: all warnings being treated as errors
src/external/rawspeed/CMakeFiles/rawspeed.dir/build.make:1214: recipe for target 'src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/OrfDecoder.cpp.o' failed
make2: * [src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/OrfDecoder.cpp.o] Error 1
CMakeFiles/Makefile2:1505: recipe for target 'src/external/rawspeed/CMakeFiles/rawspeed.dir/all' failed
make1:
[src/external/rawspeed/CMakeFiles/rawspeed.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *
* [all] Error 2


Related issues

Related to darktable - Bug #10984: darktable-2.0.x build warning in rawspeed Closed: invalid 04/08/2016

History

#1 Updated by Roman Lebedev over 2 years ago

  • Related to Bug #10984: darktable-2.0.x build warning in rawspeed added

#2 Updated by Roman Lebedev over 2 years ago

  • % Done changed from 0 to 100
  • Assignee set to Johannes Hanika
  • Status changed from New to Fixed

#3 Updated by Roman Lebedev almost 2 years ago

  • Target version set to 2.2.0

Also available in: Atom PDF