Is VC6 warning level 4 of any use? (Re: [AGENT++] SNMP++ c++ trickery ?)

Jochen Katz katz at agentpp.com
Mon Jan 17 21:41:33 CET 2005


Hi,

first a question for all: does anyone compile his own code with warning 
level 4 of VC6?

 > "snmp_pp\reentrant.h(75) : warning C4512:
 >
 >        'SnmpSynchronize' : assignment operator could not be generated
 >        snmp_pp\reentrant.h(66) : see declaration of 'SnmpSynchronize'
 >
 > "

> The warning message that i posted is given by the compiler, when it is 
> compiling the files of my project. And it gives
> it for all my files too since the SNMP++ header is visible through all 
> the files that are being compiled.

Go to Project settings -> tab C/C++ and change the warnign level from 4 
to 3.

> What i do not understand though is why, the message is not given while 
> creating the library in the first place.

Well, it now should be obvious: this project uses level 3 or below ;-)

Regards,
   Jochen



More information about the AGENTPP mailing list