> A fixed VS lyxserver.C is attached. When I find the time, 
> I'll update the 
> patch.
> 
> Regards,
> Asger
> 

Thank you. Also, I think the vcproj file will need to be updated to
remove putenv.C and add environment.C. Unfortunately, environment.C
doesn't build under MSVC:

Compiling...
environment.C
\lyx\lyx-devel\src\support\environment.C(90) : error C2079: 'ss' uses
undefined class 'std::basic_ostringstream<_Elem,_Traits,_Alloc>'
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Alloc=std::allocator<char>
        ]
        \lyx\lyx-devel\src\support\environment.C(90) : see reference to
class template instantiation
'std::basic_ostringstream<_Elem,_Traits,_Alloc>' being compiled
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Alloc=std::allocator<char>
        ]
        \lyx\lyx-devel\src\support\environment.C(90) : see reference to
class template instantiation
'std::basic_ostringstream<_Elem,_Traits,_Alloc>' being compiled
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Alloc=std::allocator<char>
        ]
\lyx\lyx-devel\src\support\environment.C(94) : error C2228: left of
'.tellp' must have class/struct/union type
        type is 'int'
\lyx\lyx-devel\src\support\environment.C(95) : warning C4552: '<<' :
operator has no effect; expected operator with side-effect
\lyx\lyx-devel\src\support\environment.C(96) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std::operator
<<(std::basic_ostream<_Elem,_Traits> &,const
std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template
argument for 'std::basic_ostream<_Elem,_Traits> &' from 'int'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\string(535) : see declaration of 'std::operator`<<''
\lyx\lyx-devel\src\support\environment.C(96) : error C2784:
'std::basic_ostream<char,_Traits> &std::operator
<<(std::basic_ostream<char,_Traits> &,unsigned char)' : could not deduce
template argument for 'std::basic_ostream<char,_Elem> &' from 'int'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\ostream(887) : see declaration of 'std::operator`<<''
\lyx\lyx-devel\src\support\environment.C(96) : error C2784:
'std::basic_ostream<char,_Traits> &std::operator
<<(std::basic_ostream<char,_Traits> &,const unsigned char *)' : could
not deduce template argument for 'std::basic_ostream<char,_Elem> &' from
'int'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\ostream(880) : see declaration of 'std::operator`<<''
\lyx\lyx-devel\src\support\environment.C(96) : error C2784:
'std::basic_ostream<char,_Traits> &std::operator
<<(std::basic_ostream<char,_Traits> &,signed char)' : could not deduce
template argument for 'std::basic_ostream<char,_Elem> &' from 'int'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\ostream(873) : see declaration of 'std::operator`<<''
\lyx\lyx-devel\src\support\environment.C(96) : error C2784:
'std::basic_ostream<char,_Traits> &std::operator
<<(std::basic_ostream<char,_Traits> &,const signed char *)' : could not
deduce template argument for 'std::basic_ostream<char,_Elem> &' from
'int'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\ostream(866) : see declaration of 'std::operator`<<''
\lyx\lyx-devel\src\support\environment.C(96) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std::operator
<<(std::basic_ostream<_Elem,_Traits> &,_Elem)' : could not deduce
template argument for 'std::basic_ostream<_Elem,_Traits> &' from 'int'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\ostream(828) : see declaration of 'std::operator`<<''
\lyx\lyx-devel\src\support\environment.C(96) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std::operator
<<(std::basic_ostream<_Elem,_Traits> &,const _Elem *)' : could not
deduce template argument for 'std::basic_ostream<_Elem,_Traits> &' from
'int'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\ostream(783) : see declaration of 'std::operator`<<''
\lyx\lyx-devel\src\support\environment.C(96) : error C2784:
'std::basic_ostream<char,_Traits> &std::operator
<<(std::basic_ostream<char,_Traits> &,char)' : could not deduce template
argument for 'std::basic_ostream<char,_Elem> &' from 'int'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\ostream(744) : see declaration of 'std::operator`<<''
\lyx\lyx-devel\src\support\environment.C(96) : error C2784:
'std::basic_ostream<char,_Traits> &std::operator
<<(std::basic_ostream<char,_Traits> &,const char *)' : could not deduce
template argument for 'std::basic_ostream<char,_Elem> &' from 'int'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\ostream(697) : see declaration of 'std::operator`<<''
\lyx\lyx-devel\src\support\environment.C(96) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std::operator
<<(std::basic_ostream<_Elem,_Traits> &,char)' : could not deduce
template argument for 'std::basic_ostream<_Elem,_Traits> &' from 'int'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\ostream(659) : see declaration of 'std::operator`<<''
\lyx\lyx-devel\src\support\environment.C(96) : error C2784:
'std::basic_ostream<_Elem,_Traits> &std::operator
<<(std::basic_ostream<_Elem,_Traits> &,const char *)' : could not deduce
template argument for 'std::basic_ostream<_Elem,_Traits> &' from 'int'
        C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\ostream(613) : see declaration of 'std::operator`<<''
\lyx\lyx-devel\src\support\environment.C(96) : error C2677: binary '<<'
: no global operator found which takes type 'std::string' (or there is
no acceptable conversion)
\lyx\lyx-devel\src\support\environment.C(98) : error C2228: left of
'.str' must have class/struct/union type
        type is 'int'
package.C
package.C(322) : error C3861: 'GetEnv': identifier not found, even with
argument-dependent lookup
package.C(413) : error C3861: 'getEnvPath': identifier not found, even
with argument-dependent lookup
package.C(653) : error C3861: 'GetEnv': identifier not found, even with
argument-dependent lookup
Generating Code...

Build log was saved at
"file://c:\lyx\lyx-devel\development\Win32\Debug\BuildLog.htm"
lyx - 18 error(s), 1 warning(s)

Reply via email to