[GCC-XML] Compile fails for MSVC 8.0/9.0

Dean Pavlekovic dpavlekovic at gmail.com
Tue Apr 27 14:32:37 EDT 2010


Hi,

A build of current CVS with MSVC 8.0/9.0 on Windows fails in
GCC_XML/gccxml/GCC/gcc/cp/xml.c:xml_find_template_parm (tree t)

The problem seems to be that in C mode MSVC doesn't accept
declarations that are not at beginning of a block in case statements,
pls. see the attached patch which resolves the problem.

Cheers,
Dean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xml_c_msvc.diff
Type: application/octet-stream
Size: 1172 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/gccxml/attachments/20100427/6e9bf050/attachment-0002.obj>


More information about the gccxml mailing list