weixin_39710951 2020-11-29 11:13 采纳率: 0%
浏览 0

DCRAW 9.15 update

Originally reported on Google Code with ID 1433


This patch updates RT to latest DCRAW.
Fixes many problems reported, like the borders on D800 and the DNG V1.4 written by
LR4 when using lossy/fastload options.

However this time the update was pretty big and a bit more complicated than usual.
A little test would be appreciated.

Reported by oduis.com on 2012-06-22 14:48:23

该提问来源于开源项目:Beep6581/RawTherapee

  • 写回答

10条回答 默认 最新

  • weixin_39710951 2020-11-29 11:13
    关注
    
    Does not compile with the new version of the С++ language standard - C++11
    cmake -DBUILD_BUNDLE=on -DUSE_EXPERIMENTAL_LANG_VERSIONS=on CMakeLists.txt
    
    Output: [  8%] Building CXX object rtengine/CMakeFiles/rtengine.dir/dcraw.cc.o
    rtengine/dcraw.cc: In member function ‘void DCraw::vng_interpolate()’:
    rtengine/dcraw.cc:4054:3: warning: narrowing conversion of ‘128’ from ‘int’ to ‘const
    signed char’ inside { } [-Wnarrowing]
    rtengine/dcraw.cc:4054:3: warning: narrowing conversion of ‘136’ from ‘int’ to ‘const
    signed char’ inside { } [-Wnarrowing]
    rtengine/dcraw.cc:4054:3: warning: narrowing conversion of ‘128’ from ‘int’ to ‘const
    signed char’ inside { } [-Wnarrowing]
    rtengine/dcraw.cc:4054:3: warning: narrowing conversion of ‘136’ from ‘int’ to ‘const
    signed char’ inside { } [-Wnarrowing]
    rtengine/dcraw.cc:4054:3: warning: narrowing conversion of ‘128’ from ‘int’ to ‘const
    signed char’ inside { } [-Wnarrowing]
    rtengine/dcraw.cc:4054:3: warning: narrowing conversion of ‘136’ from ‘int’ to ‘const
    signed char’ inside { } [-Wnarrowing]
    /home/pinipini/rawtherapee/rtengine/dcraw.cc: In member function ‘void DCraw::adobe_coeff(const
    char*, const char*)’:
    rtengine/dcraw.cc:6985:3: warning: narrowing conversion of ‘65535’ from ‘int’ to ‘short
    int’ inside { } [-Wnarrowing]
    rtengine/dcraw.cc:6985:3: warning: narrowing conversion of ‘65535’ from ‘int’ to ‘short
    int’ inside { } [-Wnarrowing]
    rtengine/dcraw.cc: In member function ‘void DCraw::tiff_head(DCraw::tiff_hdr*, int)’:
    rtengine/dcraw.cc:9008:21: error: unable to find string literal operator ‘operator""
    DCRAW_VERSION’
    make[2]: *** [rtengine/CMakeFiles/rtengine.dir/dcraw.cc.o] Error 1
    
    Will provide updated patch soon.
    

    Reported by lebedev.ri on 2012-06-22 15:17:18

    评论

报告相同问题?