Re: problem with visual c++ 6.0 <CgiInput.cpp(48) getenv no element fom std>
"Alexander J. Oss" <[email protected]>
| Newsgroups | gmane.comp.gcc.cgicc.general |
|---|---|
| Message-ID | <001001c1e1bf$92ca0200$0101a8c0@puter> |
That's a rough one; unfortunately, the standard says getenv() is found in <cstdlib> (18.7), and it also says anything in those C-compatibility headers (except macros) is in the std namespace (17.4.1.2.4). A bug in VC++? (I don't use it; I use Borland C++ Builder.) ----- Original Message ----- From: "Hans Schmidt" <[email protected]> To: <[email protected]> Sent: Thursday, April 11, 2002 10:36 AM Subject: problem with visual c++ 6.0 <CgiInput.cpp(48) getenv no element fom std> hi, i have install ms-visual c++ 6.0 (default) and i have open the workfile. after i want to compile ( press f7 ) the compiler write folow errormsg : CgiInput.cpp(48) getenv is no element from std thanks hans CgiInput.cpp C:\Programme\Microsoft Visual Studio\MyProjects\cgicc-3.2.1\cgicc\CgiInput.cpp(48) : error C2039: 'getenv' : Ist kein Element von 'std' C:\Programme\Microsoft Visual Studio\MyProjects\cgicc-3.2.1\cgicc\CgiInput.cpp(48) : error C2440: 'initializing' : 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' kann nicht in 'char *' konvertiert werden Kein benutzerdefinierter Konvertierungsoperator verfuegbar, der diese Konvertierung durchfuehren kann, oder der Operator kann nicht aufgerufen werden Fehler beim Ausführen von cl.exe. cgicc.dll - 2 Fehler, 0 Warnung(en) -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net _______________________________________________ help-cgicc mailing list [email protected] http://mail.gnu.org/mailman/listinfo/help-cgicc