On 04/10/13 07:10 AM, Roumano wrote:
> Hi,
>
> The git version is not compiling anymore,
>
> the error : (maybe some work in progress abvout new colormapping
> stuff ;)
>
>
> Scanning dependencies of target colorzones
> [ 81%] Building C object
> src/iop/CMakeFiles/colorzones.dir/colorzones.c.o
> Linking C shared module libcolorize.so
> cc1: warnings being treated as errors
> /home/roumano/bin/darktable/src/iop/colormapping.c: In function
> ‘gui_post_expose’:
> /home/roumano/bin/darktable/src/iop/colormapping.c:1048:13: erreur:
> ignoring return value of ‘fwrite’, declared with attribute
> warn_unused_result
If you cast it to (void) does that get you past the error?
That said, the return value of fwrite() is there for a reason,
so it really should be fixed properly.
James C. McPherson
--
Solaris kernel software engineer, system admin and troubleshooter
http://www.jmcpdotcom.com/blog
Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel