On Tue, Aug 24, 2010 at 04:09:35AM +1200, Ralph Versteegen wrote:
> On 24 August 2010 04:05, James Paige <[email protected]> wrote:
> > On Mon, Aug 23, 2010 at 04:58:26AM -0700, [email protected] 
> > wrote:
> >> teeemcee
> >> 2010-08-23 04:58:26 -0700 (Mon, 23 Aug 2010)
> >> 382
> >> Base64 encoding and decoding of binary blob RELOAD nodes exported to XML. 
> >> Also added a header and RELOAD namespace declaration to exported XML files.
> >>
> >> Added missing RELOAD functions RenameNode and SetContent(as nodeptr, as 
> >> zstring ptr, as integer) (to set a binary blob)
> >>
> >> Fixed several bugs in serialization and deserialization of XML files which 
> >> screwed up the resulting documents.
> >
> > This one breaks compilation for me.
> >
> > ja...@rhinoctopus:~/src/ohr/wip$ gcc -c -g -O3 base64.c
> > In file included from base64.c:47:
> > base64.h:34: error: expected ';', ',' or ')' before 'in'
> > base64.h:39: error: expected ';', ',' or ')' before 'in'
> > base64.c:67: error: expected ';', ',' or ')' before 'in'
> > base64.c:313: error: expected ';', ',' or ')' before 'in'
> >
> > it doesn't seem to like the "in" in "const char *restrict in"
> >
> > I am using gcc version 4.4.3-4ubuntu5
> >
> > ---
> > James
> 
> Ah, I figured it was just me, since I was compiling with an ancient
> mingw gcc 3.4.5. Turns out you have to specify C99 mode to gcc.

Yep, that fixed it nicely. :)

---
James
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to