For the first set of errors try this:
Replace:
const unsigned char get_a()const { return pixel>>24; }
const unsigned char get_r()const { return pixel>>16; }
const unsigned char get_g()const { return pixel>>8; }
const unsigned char get_b()const { return pixel; }
const unsigned char get_alpha()const { return get_a(); }
By
const unsigned char get_a()const { return (unsigned char) (pixel>>24); }
const unsigned char get_r()const { return (unsigned char) (pixel>>16); }
const unsigned char get_g()const { return (unsigned char) (pixel>>8); }
const unsigned char get_b()const { return (unsigned char) (pixel); }
const unsigned char get_alpha()const { return get_a(); }
But wait a second, the error numbers are wrong. Your paste bin says:
In file included from color.cpp:34:0:
color.h:738:30: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
color.h:739:29: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
color.h:740:29: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
color.h:741:29: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
color.h:742:29: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
color.h:743:33: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
where the lines from code are 736 to 741:
https://github.com/synfig/synfig/blob/genete_new_cairo_core_2/synfig-core/src/synfig/color.h#L736
Weird, isn't it?
For the other errors I'm looking for a solution.
Regards
Carlos
2013/3/13 Konstantin Dmitriev <ksee.zelga...@gmail.com>
> 2013/3/13 Carlos López González <genet...@gmail.com>:
> > Thanks for your kind comments! ^__^
> >
> > @Zelgadis: try to add this line to color.h
> >
> > #include <stdint.h>
> >
> > It is possible that the header dependences from my building environment
> > included that header by any other and so, it was needed.
>
> 2013/3/13 Carlos López González <genet...@gmail.com>:
> > Possibly cstdint.h would be better.
>
> "#include <cstdint>" didn't worked for me.
>
> "#include <stdint.h>" - seems that worked, compilation passed further,
> but raised another error:
> http://pastebin.com/4HpEr8MH
> K.
>
>
> > 2013/3/13 Yu Chen <jco...@gmail.com>
> >>
> >> Hi Carlos!
> >>
> >> You are the hero of Synfig community, Can't wait to play with...
> >>
> >>
> >>
> >> ~ yu
> >>
> >> --
> >> No one will come, Yu has to make it happen by Yu-self.
> >>
> >>
> >> 2013/3/13 david rylander <rylle...@gmail.com>
> >>>
> >>>
> >>> Amazing! Can't wait to try it! Merge into master I'd say. :)
> >>>
> >>>
> >>>
> >>>
> ------------------------------------------------------------------------------
> >>> Everyone hates slow websites. So do we.
> >>> Make your web apps faster with AppDynamics
> >>> Download AppDynamics Lite for free today:
> >>> http://p.sf.net/sfu/appdyn_d2d_mar
> >>> _______________________________________________
> >>> Synfig-devl mailing list
> >>> Synfig-devl@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/synfig-devl
> >>>
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Everyone hates slow websites. So do we.
> >> Make your web apps faster with AppDynamics
> >> Download AppDynamics Lite for free today:
> >> http://p.sf.net/sfu/appdyn_d2d_mar
> >> _______________________________________________
> >> Synfig-devl mailing list
> >> Synfig-devl@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/synfig-devl
> >>
> >
> >
> >
> > --
> > Carlos
> > http://synfig.org
> >
> >
> ------------------------------------------------------------------------------
> > Everyone hates slow websites. So do we.
> > Make your web apps faster with AppDynamics
> > Download AppDynamics Lite for free today:
> > http://p.sf.net/sfu/appdyn_d2d_mar
> > _______________________________________________
> > Synfig-devl mailing list
> > Synfig-devl@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/synfig-devl
> >
>
>
>
> --
> http://morevnaproject.org/
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> Synfig-devl mailing list
> Synfig-devl@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/synfig-devl
>
--
Carlos
http://synfig.org
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl