<div class="gmail_quote">On Mon, Jun 28, 2010 at 12:46 PM, Alexander Larsson <span dir="ltr"><<a href="mailto:alexl@redhat.com">alexl@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Mon, 2010-06-28 at 12:39 +0200, Alexander Larsson wrote:<br>
> On Mon, 2010-06-28 at 11:05 +0200, Attila Sukosd wrote:<br>
> > Hi guys,<br>
> ><br>
> > I've been trying to get the latest git sources to compile and i've<br>
> > been getting the same issue on both platforms:<br>
> ><br>
> > g++ -DHAVE_CONFIG_H -I. -I../.. -DSW_CANVAS_CACHE<br>
> > -DSW_CANVAS_NO_CHUNKS -DUSE_GLZ -D__STDC_LIMIT_MACROS -I. -I..<br>
> > -I../../common -I../../common/linux -I../../client<br>
> > -I/usr/local/include/spice-1 -I/usr/include/alsa<br>
> > -I/usr/local/include/pixman-1 -I/usr/local/include<br>
> > -I/usr/include/CEGUI -Wall -Wno-sign-compare -Werror<br>
> > -Wno-deprecated-declarations -g -O2 -MT main.o -MD -MP<br>
> > -MF .deps/main.Tpo -c -o main.o main.cpp<br>
> > In file included from ../red_channel.h:28,<br>
> > from ../red_client.h:25,<br>
> > from ../application.h:23,<br>
> > from main.cpp:19:<br>
> > ../marshallers.h:27: error: declaration of ‘void (* <anonymous<br>
> > struct>::SpiceMsgEmpty)(SpiceMarshaller*, SpiceMsgEmpty*)’<br>
> > ../../common/messages.h:42: error: changes meaning of ‘SpiceMsgEmpty’<br>
> > from ‘typedef struct SpiceMsgEmpty SpiceMsgEmpty’<br>
> > ../marshallers.h:28: error: declaration of ‘void (* <anonymous<br>
> > struct>::SpiceMsgData)(SpiceMarshaller*, SpiceMsgData*)’<br>
> > ../../common/messages.h:39: error: changes meaning of ‘SpiceMsgData’<br>
> > from ‘typedef struct SpiceMsgData SpiceMsgData’<br>
> ><br>
> ><br>
> > Any help would be highly appriciated!<br>
><br>
> The name of the function member of the struct (SpiceMsgEmpty) is the<br>
> same as a typedefed type (SpiceMsgEmpty) which gives an error.<br>
><br>
> I dunno why this doesn't cause problems for others, but it should be<br>
> easy to solve by adding some prefix. I'll handle it.<br>
<br>
</div></div>Should be fixed in git. You may need to make clean to ensure the right<br>
source files are regenerated.<br>
<div class="im"><br>
--<br>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<br>
Alexander Larsson Red Hat, Inc<br>
<a href="mailto:alexl@redhat.com">alexl@redhat.com</a> <a href="mailto:alexander.larsson@gmail.com">alexander.larsson@gmail.com</a><br>
</div>He's a benighted vegetarian househusband fleeing from a secret government<br>
programme. She's a vivacious snooty pearl diver living homeless in New York's<br>
sewers. They fight crime!<br>
<br>
</blockquote></div><br>Great! Thanks for your fast reply again :)<br><br>Ill give it a try!<br><br>Rgrds,<br><br>Attila<br>