<div class="gmail_quote">2008/6/27 Brad King <<a href="mailto:brad.king@kitware.com">brad.king@kitware.com</a>>:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d">Pierre Raybaut wrote:<br>> And BTW, I didn't pay attention the first time, but when I'm building<br>> CableSWIG-ITK, I get 1 error, see attached *cable-log.txt*.<br><br></div>Okay, that is definately the cause of the problem. At least two other<br>
people with a VS installation in France have reported the same error to<br>the gccxml mailing list:<br><br> <a href="http://www.gccxml.org/pipermail/gccxml/2008-June/001138.html" target="_blank">http://www.gccxml.org/pipermail/gccxml/2008-June/001138.html</a><br>
<br>The error occurs when gccxml tries to copy and patch some of VS's system<br>header files to allow the gcc parser to get through them. It comes with<br>a patch for the headers of each VS version.<br><br>Unfortunately it seems that MS released at least two "versions" of VS<br>
2005 with slightly different header files (this is unrelated to the<br>difference between english and french language versions). AFAICS there<br>is no way to tell the versions apart other than by looking at the header<br>
files. If you installed VS 2005 early enough then you have slightly<br>different header files than the newer version I used to create the<br>patch. I think the newer version was released on top of the older<br>version to add the _SECURE_SCL stuff. There does not seem to be a way<br>
to get the older version anymore.<br><br>You have these options:<br><br>1.) Re-download and install VS 2005 to get the newer version.<br>2.) Switch to VS 2008 Express.<br>3.) Contact me off-list and we can try to create a replacement patch<br>
file for gccxml to help folks with your problem.<br><font color="#888888"><br>-Brad<br><br></font></blockquote></div>
<div><br> </div>
<div> </div>
<div>Ok, thanks.</div>
<div>I'm going to try option 2, and I'll post as soon as I have the time to get it done.</div>
<div> </div>
<div>Pierre</div>