Brad, I built GCC-XML with MSVC 9.0 and ran a test file through it and got the following error spew below. The xml file did get produced but can you explain how I can quite this spew or what changes I need to make?
Thanks, Chris C:\GCC_XML\GCC_XML_Complete\bin\Debug>gccxml.exe shape.cpp -fxml=shape.xml Warning: Compiler "cl" specified, but more than one of MSVC 6, 7, 7.1, 8, and 9 are installed. Please specify "msvc6", "msvc7", "msvc71", "msvc8", "msvc8ex", or "msvc9" for the GCCXML_COMPILER setting. Using MSVC 9 because it was used to build GCC-XML. C:/GCC_XML/GCC_XML_Complete/GCC_XML/Support/Vc9/Include/yvals.h: In copy constructor 'std::_Locinfo::_Locinfo(const std: :_Locinfo&)': C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xlocinfo:59: instantiated from 'static size_t std::num_put<_El em, _OutIt>::_Getcat(const std::locale::facet**, const std::locale*) [with _Elem = char, _OutIt = std::ostreambuf_iterat or<char, std::char_traits<char> >]' C:/GCC_XML/GCC_XML_Complete/GCC_XML/Support/Vc9/Include/xlocale:500: instantiated from 'const _Facet& std::use_facet(c onst std::locale&) [with _Facet = std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >]' C:/Program Files/Microsoft Visual Studio 9.0/VC/include/ostream:270: instantiated from 'std::basic_ostream<_Elem, _Tra its>& std::basic_ostream<_Elem, _Traits>::operator<<(int) [with _Elem = char, _Traits = std::char_traits<char>]' shape.cpp:48: instantiated from here C:/GCC_XML/GCC_XML_Complete/GCC_XML/Support/Vc9/Include/yvals.h:624: error: 'std::_Lockit::_Lockit(const std::_Lockit&)' is private C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xlocinfo:59: error: within this context C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xlocnum: In static member function 'static size_t std::num_put<_ Elem, _OutIt>::_Getcat(const std::locale::facet**, const std::locale*) [with _Elem = char, _OutIt = std::ostreambuf_iter ator<char, std::char_traits<char> >]': C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xlocnum:1035: note: synthesized method 'std::_Locinfo::_Locinfo( const std::_Locinfo&)' first required here -----Original Message----- From: Brad King [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 22, 2008 5:24 PM To: Roman Yakovenko Cc: [email protected]; Chris Waldron Subject: Re: [GCC-XML] MSVC 9.0 Support Brad King wrote: > Roman Yakovenko wrote: >> On Mon, Apr 21, 2008 at 6:58 PM, Brad King <[EMAIL PROTECTED]> wrote: >>> Chris Waldron wrote: >>> >>>> Are there any plans for GCC-XML to support MSVC ver. 9.0? >>>> >>> I've just commited changes to gccxml to support the commercial version. I >>> don't know whether it will work with the express version or not. I need to >>> get it installed on another machine to try out. >> I just tried it on Visual Studio 2008, Express Edition and it doesn't work. >> >> I was able to build gccxml.exe but for some reason, after the build >> the installation directory was empty. > > I'm not surprised. It probably uses different registry entries and is > therefore not detected. It's on my TODO list. Okay, I got a chance to do this tonight. I just needed to add a check for the VCExpress registry entry as well as the VisualStudio one. I've now committed support for VC9 Express. -Brad _______________________________________________ gccxml mailing list [email protected] http://www.gccxml.org/mailman/listinfo/gccxml
