From: Quintin Connell <address@hidden>
To: J Smith <address@hidden>
Subject: Re: [help-cgicc] Visual C++ 6.0 compiling issues
Date: Mon, 01 Dec 2003 12:35:48 +0200 (SAST)
I would suggest you just go ahead and delete the std::'s. I had this
problem
too when i went to compile the new version. Suppose it wouldn't happen if
VC++
was more standards compliant.
Quintin
Quoting J Smith <address@hidden>:
> 13.1 issues, in fact!
>
> --------------------Configuration: cgicc - Win32
> Debug--------------------
> Compiling...
> CgiEnvironment.cpp
> c:\documents and settings\peter\my
>
documents\csource2\testcgi\include\cgicc-3.2.2\cgicc\cgienvironment.cpp(141)
>
> : error C2039: 'isspace' : is not a member of 'std'
> c:\documents and settings\peter\my
>
documents\csource2\testcgi\include\cgicc-3.2.2\cgicc\cgienvironment.cpp(161)
>
> : error C2039: 'atol' : is not a member of 'std'
> c:\documents and settings\peter\my
>
documents\csource2\testcgi\include\cgicc-3.2.2\cgicc\cgienvironment.cpp(176)
>
> : error C2039: 'atol' : is not a member of 'std'
> c:\documents and settings\peter\my
>
documents\csource2\testcgi\include\cgicc-3.2.2\cgicc\cgienvironment.cpp(256)
>
> : warning C4800: 'unsigned long' : forcing value to bool 'true' or
> 'false'
> (performance warning)
> CgiInput.cpp
> c:\documents and settings\peter\my
> documents\csource2\testcgi\include\cgicc-3.2.2\cgicc\cgiinput.cpp(69) :
>
> error C2039: 'getenv' : is not a member of 'std'
> c:\documents and settings\peter\my
> documents\csource2\testcgi\include\cgicc-3.2.2\cgicc\cgiinput.cpp(69) :
>
> 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
> CgiUtils.cpp
> c:\documents and settings\peter\my
> documents\csource2\testcgi\include\cgicc-3.2.2\cgicc\cgiutils.cpp(45) :
>
> error C2039: 'toupper' : is not a member of 'std'
> c:\documents and settings\peter\my
> documents\csource2\testcgi\include\cgicc-3.2.2\cgicc\cgiutils.cpp(45) :
>
> error C2039: 'toupper' : is not a member of 'std'
> c:\documents and settings\peter\my
> documents\csource2\testcgi\include\cgicc-3.2.2\cgicc\cgiutils.cpp(65) :
>
> error C2039: 'toupper' : is not a member of 'std'
> c:\documents and settings\peter\my
> documents\csource2\testcgi\include\cgicc-3.2.2\cgicc\cgiutils.cpp(65) :
>
> error C2039: 'toupper' : is not a member of 'std'
> FormEntry.cpp
> c:\documents and settings\peter\my
> documents\csource2\testcgi\include\cgicc-3.2.2\cgicc\formentry.cpp(46) :
>
> error C2039: 'atol' : is not a member of 'std'
> c:\documents and settings\peter\my
> documents\csource2\testcgi\include\cgicc-3.2.2\cgicc\formentry.cpp(61) :
>
> error C2039: 'atol' : is not a member of 'std'
> c:\documents and settings\peter\my
> documents\csource2\testcgi\include\cgicc-3.2.2\cgicc\formentry.cpp(81) :
>
> error C2039: 'atof' : is not a member of 'std'
> c:\documents and settings\peter\my
> documents\csource2\testcgi\include\cgicc-3.2.2\cgicc\formentry.cpp(95) :
>
> error C2039: 'atof' : is not a member of 'std'
> Error executing cl.exe.
>
> cgicc.dll - 13 error(s), 1 warning(s)
>
> There you go. This is a straight, decompress into directory, open the
>
> workspace, and hit the Build DLL button. The version number's right
> there,
> 3.2.2. Visual C++ 6.0 enterprise edition with Service Pack 5. Should I
> go
> ahead and apease the compiler and erase the std's, or did I miss a step
>
> somewhere?
>
> Also, about the cgiInput.cpp: I saw several posts on that, and I
> wondering
> if I could get that again here. What I copied and pasted from them
> didn't
> work.
>
> I really want to use this library; it's so much better looking and
> appealing
> than the other ones that I found!
>
> Thanks
> Peter Townsend
>
> _________________________________________________________________
> online games and music with a high-speed Internet connection! Prices
> start
> at less than $1 a day average. https://broadband.msn.com (Prices may
> vary
> by service area.)
>
>
>
> _______________________________________________
> help-cgicc mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-cgicc
>
>
>