|
From: Emanoil K. <del...@ya...> - 2010-10-18 17:31:14
|
--- On Mon, 10/18/10, Michael Banck <mb...@gm...> wrote:
>
> > 2. the __sun statement in opensync.h causes frequent
> troubles:
> > [ 1%] Building CXX object
> >
> libqopensync/CMakeFiles/qopensync.dir/callbackhandler.o
> > cc1plus: warnings being treated as errors In file
> included from
> >
> /home/murz/temp/2010-09/sync/kitchensync/libqopensync/callbackhandler.cpp:22:
> > /usr/include/libopensync1/opensync/opensync.h:52:
> error: "__sun" is not
> > defined
> >
> > How can we fix this issue? I do it by removing the
> lines 52-54 in opensync.h,
> > but this is only my simple workaround.
>
> What compiler do you use? Maybe very recent versions
> of gcc are more
> picky about these kind of if/then/else macro structures.
>
>
Actually the compiler I'm using is gcc-4.4 (g++ resp.) from debian sid and I'm getting the same warning on compile
For the modules not found issue I setup the CMAKE modules path (see the docs)
regards
regards
|