Fix can be found here:
https://sourceforge.net/p/freeimage/bugs/267/
Search Criteria
Package Details: mingw-w64-freeimage 3.17.0-1
Git Clone URL: | https://aur.archlinux.org/mingw-w64-freeimage.git (read-only) |
---|---|
Package Base: | mingw-w64-freeimage |
Description: | Library project for developers who would like to support popular graphics image formats (mingw-w64) |
Upstream URL: | http://freeimage.sourceforge.net/ |
Licenses: | |
Submitter: | ekpyron |
Maintainer: | xantares |
Last Packager: | xantares |
Votes: | 3 |
Popularity: | 0.000000 |
First Submitted: | 2012-08-14 05:32 |
Last Updated: | 2015-08-18 19:25 |
Dependencies (2)
Required by (1)
Sources (2)
Latest Comments
xantares commented on 2017-02-25 09:46
thebunnyrules commented on 2017-02-25 01:30
thebunnyrules commented on 2017-02-24 08:05
I'm getting this error during build. Anyone has any ideas how to fix this?
====================================
------------------------------------
Source/LibRawLite/./internal/dcraw_common.cpp: In member function ‘void LibRaw::vng_interpolate()’:
Source/LibRawLite/./internal/dcraw_common.cpp:3964:3: error: narrowing conversion of ‘128’ from ‘int’ to ‘signed char’ inside { } [-Wnarrowing]
}, chood[] = { -1,-1, -1,0, -1,+1, 0,+1, +1,+1, +1,0, +1,-1, 0,-1 };
^
Source/LibRawLite/./internal/dcraw_common.cpp:3964:3: error: narrowing conversion of ‘136’ from ‘int’ to ‘signed char’ inside { } [-Wnarrowing]
Source/LibRawLite/./internal/dcraw_common.cpp:3964:3: error: narrowing conversion of ‘128’ from ‘int’ to ‘signed char’ inside { } [-Wnarrowing]
Source/LibRawLite/./internal/dcraw_common.cpp:3964:3: error: narrowing conversion of ‘136’ from ‘int’ to ‘signed char’ inside { } [-Wnarrowing]
Source/LibRawLite/./internal/dcraw_common.cpp:3964:3: error: narrowing conversion of ‘128’ from ‘int’ to ‘signed char’ inside { } [-Wnarrowing]
Source/LibRawLite/./internal/dcraw_common.cpp:3964:3: error: narrowing conversion of ‘136’ from ‘int’ to ‘signed char’ inside { } [-Wnarrowing]
Source/LibRawLite/./internal/dcraw_common.cpp: In member function ‘void LibRaw::adobe_coeff(const char*, const char*)’:
Source/LibRawLite/./internal/dcraw_common.cpp:7269:3: error: narrowing conversion of ‘65535’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
};
^
Source/LibRawLite/./internal/dcraw_common.cpp:7269:3: error: narrowing conversion of ‘65535’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
make: *** [Makefile.mingw:107: Source/LibRawLite/./internal/dcraw_common.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
Schala commented on 2015-03-30 03:49
Thanks, but I'm getting an odd error and the only thing makepkg says is it happens in package()
ekpyron commented on 2013-12-13 21:55
@Schala
Sorry for the late response, but you're right, the PKGBUILD now renames FreeImage.dll.a to libFreeImage.dll.a.
Schala commented on 2013-11-28 01:58
Should be libFreeImage.dll.a, not FreeImage.dll.a
xantares commented on 2013-11-15 10:26
mingw-w64-crt should be listed as depends instead of mingw-w64-gcc which should be added to makedepends
mdias commented on 2013-07-04 23:25
As per the MinGW guidelines on Arch's wiki, the package should build both static and shared libs.
This PKGBUILD does just that: http://pastebin.com/bD2UzzNj
hello,
I need a patch.
ps: I think the values shouldn't exceed the char range in the first place,
what you're doing is just accepting them and truncate from the int to char range.