Menu

#39 Makefile.osx for El Capitan (10.11.4) / XCode 7.3 please?

open
nobody
None
5
2016-05-09
2016-05-09
Anonymous
No

The most successful makefile.osx for installing FreeImage 3.17.0 I've found (attached) gives errors during the build. The errors all seem to refer to the file dcraw_common.cpp:

Source/LibRawLite/./internal/dcraw_common.cpp:3785:19: error: constant expression evaluates to 128 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
-1,-2,-1,+0,0,0x80, -1,-2,+0,-1,0,0x01, -1,-2,+1,-1,0,0x01,
^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3786:39: error: constant expression evaluates to 136 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
-1,-2,+1,+0,1,0x01, -1,-1,-1,+1,0,0x88, -1,-1,+1,-2,0,0x40,
^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3786:39: error: constant expression evaluates to 136 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
-1,-2,+1,+0,1,0x01, -1,-1,-1,+1,0,0x88, -1,-1,+1,-2,0,0x40,
^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3793:19: error: constant expression evaluates to 128 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
+0,-2,+0,+0,1,0x80, +0,-1,+0,+1,1,0x88, +0,-1,+1,-2,0,0x40,
^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3793:39: error: constant expression evaluates to 136 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
+0,-2,+0,+0,1,0x80, +0,-1,+0,+1,1,0x88, +0,-1,+1,-2,0,0x40,
^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3799:59: error: constant expression evaluates to 128 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
+0,+1,+2,+1,0,0x20, +0,+1,+2,+2,0,0x10, +1,-2,+1,+0,0,0x80,
^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3800:19: error: constant expression evaluates to 136 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
+1,-1,+1,+1,0,0x88, +1,+0,+1,+2,0,0x08, +1,+0,+2,-1,0,0x40,
^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:7383:23: error: constant expression evaluates to 65535 which cannot be narrowed to type 'short' [-Wc++11-narrowing]
{ "Red One", 704, 0xffff, / DJC /
^~~~~~
Source/LibRawLite/./internal/dcraw_common.cpp:9238:30: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
strcpy (th->soft, "dcraw v"DCRAW_VERSION);
^
Any ideas? Any help would be greatly appreciated.

1 Attachments

Discussion

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB