List of tweaks required for dbus-glib build for Visual Studio

Matthew Johnson dbus at matthew.ath.cx
Fri Jun 26 13:00:45 PDT 2009


On Fri Jun 26 16:23, Thiago Macieira wrote:
> Bruce, Henry wrote:
> >Code change was in dbus-gvalue.c in demarshal_strv(). C does not accept
> > variable declarations after statements, so the following code causes
> > the Microsoft compiler to generate error C2143: syntax error : missing
> > ';' before 'type' at the line  const char *str; (see snippet below)
> 
> I'm not one of the maintainers, but that's perfectly valid C99 code.
> 
> Are you sure you can't configure your VS compiler to use a 10-year-old C 
> standard?

No, I have this at work. It does C++ fine, but can't do C99. Even VS2008

Matt

-- 
www.matthew.ath.cx
D-Bus Java
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/dbus/attachments/20090626/d2dad957/attachment.pgp 


More information about the dbus mailing list