compiling error on VC6/W2K
"Michael Huang" <[email protected]> Thu, 8 Aug 2002 12:38:35 -0400
| Newsgroups | gmane.comp.gcc.cgicc.general |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
I downloaded cgicc v3.2.1 and was trying compile it using VC6 running on W2K Pro, and got following error message.
CgiInput.cpp
c:\temp\cgicc-3.2.1\cgicc\cgiinput.cpp(48) : error C2039: 'getenv' : is not a member of 'std'
c:\temp\cgicc-3.2.1\cgicc\cgiinput.cpp(48) : error C2440: 'initializing' : cannot convert from 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' to 'char *'
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
Error executing cl.exe.
Any idea or fix? TIA.
Michael