Project

General

Profile

Bug #10984

darktable-2.0.x build warning in rawspeed

Added by Roman Lebedev almost 4 years ago. Updated over 3 years ago.

Status:
Closed: invalid
Priority:
Low
Assignee:
-
Category:
-
Target version:
Start date:
04/08/2016
Due date:
% Done:

0%

Estimated time:
Affected Version:
git stable branch
System:
all
bitness:
32-bit
hardware architecture:
amd64/x86

Description


[ 20%] Building CXX object src/external/rawspeed/CMakeFiles/rawspeed.dir/RawSpeed/LJpegDecompressor.cpp.o
/home/lebedevri/darktable/src/external/rawspeed/RawSpeed/LJpegDecompressor.cpp: In member function 'virtual void RawSpeed::LJpegDecompressor::createBigTable(RawSpeed::HuffmanTable*)':
/home/lebedevri/darktable/src/external/rawspeed/RawSpeed/LJpegDecompressor.cpp:475:74: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'RawSpeed::uint32 {aka unsigned int}' [-Wformat=]
ThrowRDE("Out of memory, failed to allocate %lu bytes", size*sizeof(int));
^


Related issues

Related to darktable - Bug #11009: GCC6: rawspeed build failureFixed04/26/2016

History

#1 Updated by Roman Lebedev almost 4 years ago

and clang-3.8:


/home/lebedevri/darktable/src/external/rawspeed/RawSpeed/LJpegDecompressor.cpp:475:58: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
ThrowRDE("Out of memory, failed to allocate %lu bytes", size*sizeof(int));
~~~ ^~~~~~~~~~~~~~~~
%u

#2 Updated by Roman Lebedev almost 4 years ago

  • Related to Bug #11009: GCC6: rawspeed build failure added

#3 Updated by Roman Lebedev over 3 years ago

  • Status changed from New to Closed: invalid

May be fixed. Either way, does not matter anymore.

#4 Updated by Roman Lebedev over 3 years ago

  • Target version set to 2.2.0

Also available in: Atom PDF

Go to top