help-cgicc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: [help-cgicc] Compiling Errors C2039 : not a member of 'std'


From: Sebastian Beyer
Subject: AW: [help-cgicc] Compiling Errors C2039 : not a member of 'std'
Date: Fri, 21 Oct 2005 10:37:30 +0200

Hi,

Thanks for the quick help. It worked just as you said. I Just have 3 more
questions.

1. Where else are those functions defined then if not in std namespace? 

2. Where do I have to put the cgicc.lib to use it in my own programms?

3. Can I ignore this:

c:\postfach\cgicc-3.2.3\cgicc\cgienvironment.cpp(256) : warning C4800:
'unsigned long' : Variable wird auf booleschen Wert ('True' oder 'False')
gesetzt (Auswirkungen auf Leistungsverhalten moeglich)

In english:

warning C4800: 'unsigned long': forcing value to bool 'true' or 'false'
(performance warning)


-----Ursprüngliche Nachricht-----
Von: Quintin Connell [mailto:address@hidden 
Gesendet: Donnerstag, 20. Oktober 2005 16:55
An: Sebastian Beyer
Betreff: Re: [help-cgicc] Compiling Errors C2039 : not a member of 'std'

Go to each instance of where it says the function/macro isn't a member of
and delete the 
std::. Not ideal i know, but if you are only going to be working in Windows
this will be fine. 
I thought this would get rectified as Microsoft make their compiler more
standards 
compliant.

Quintin

ps Oh of course if you then do the above getenv becomes recursive, so you
need to 
prefix the getenv call within the function with :: as in ::getenv to call
the global function.

Quoting Sebastian Beyer <address@hidden>:

> Hi,
> 
>  
> 
> I get the following errors trying to compile the cgicc.dsw workspace
> on
> Windows 2000 VS6.0
> 
>  
> 
> CgiEnvironment.cpp
> 
> c:\postfach\cgicc-3.2.3\cgicc\cgienvironment.cpp(141) : error C2039:
> 'isspace' : Ist kein Element von 'std'
> 
> c:\postfach\cgicc-3.2.3\cgicc\cgienvironment.cpp(161) : error C2039:
> 'atol'
> : Ist kein Element von 'std'
> 
> c:\postfach\cgicc-3.2.3\cgicc\cgienvironment.cpp(176) : error C2039:
> 'atol'
> : Ist kein Element von 'std'
> 
> c:\postfach\cgicc-3.2.3\cgicc\cgienvironment.cpp(256) : warning C4800:
> 'unsigned long' : Variable wird auf booleschen Wert ('True' oder
> 'False')
> gesetzt (Auswirkungen auf Leistungsverhalten moeglich)
> 
> CgiInput.cpp
> 
> c:\postfach\cgicc-3.2.3\cgicc\cgiinput.cpp(48) : error C2039: 'getenv' :
> Ist
> kein Element von 'std'
> 
> c:\postfach\cgicc-3.2.3\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
> 
> CgiUtils.cpp
> 
> c:\postfach\cgicc-3.2.3\cgicc\cgiutils.cpp(46) : error C2039: 'toupper'
> :
> Ist kein Element von 'std'
> 
> c:\postfach\cgicc-3.2.3\cgicc\cgiutils.cpp(46) : error C2039: 'toupper'
> :
> Ist kein Element von 'std'
> 
> c:\postfach\cgicc-3.2.3\cgicc\cgiutils.cpp(66) : error C2039: 'toupper'
> :
> Ist kein Element von 'std'
> 
> c:\postfach\cgicc-3.2.3\cgicc\cgiutils.cpp(66) : error C2039: 'toupper'
> :
> Ist kein Element von 'std'
> 
> c:\postfach\cgicc-3.2.3\cgicc\cgiutils.cpp(188) : error C2039:
> 'isxdigit' :
> Ist kein Element von 'std'
> 
> c:\postfach\cgicc-3.2.3\cgicc\cgiutils.cpp(188) : error C2039:
> 'isxdigit' :
> Ist kein Element von 'std'
> 
> FormEntry.cpp
> 
> c:\postfach\cgicc-3.2.3\cgicc\formentry.cpp(46) : error C2039: 'atol' :
> Ist
> kein Element von 'std'
> 
> c:\postfach\cgicc-3.2.3\cgicc\formentry.cpp(61) : error C2039: 'atol' :
> Ist
> kein Element von 'std'
> 
> c:\postfach\cgicc-3.2.3\cgicc\formentry.cpp(81) : error C2039: 'atof' :
> Ist
> kein Element von 'std'
> 
> c:\postfach\cgicc-3.2.3\cgicc\formentry.cpp(95) : error C2039: 'atof' :
> Ist
> kein Element von 'std'
> 
> Fehler beim Ausführen von cl.exe.
> 
>  
> 
> cgicc.dll - 15 Fehler, 1 Warnung(en)
> 
>  
> 
>  
> 
> Is there a possibility of getting any help on this? 
> 
>  
> 
> Do I have to build a .dll or just open the workspace cgicc.dsw and
> compile?
> And if .dll what will I have to do with it. Where do I put it?????
> 
>  
> 
> Greetz 
> 
> Sebastian Beyer
> 
>  
> 
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]