[AGENT++] Building errors caused by using namespace Snmp_pp in the libagent.h file(AGENT++)
Claus Klein
claus.klein at arcormail.de
Wed Sep 5 23:34:01 CEST 2018
I had too a lot of problems with your defines!
In general you should NOT define „using namespace <namespace>“ in any header file!
Why all this #ifdef?
Which current compiler does NOT support namespaces, bool, const, … -std=C++98?
Best Regards
Claus
> Am 05.09.2018 um 09:23 schrieb Zwam, van Brian <brian.van.zwam at saabgroup.com>:
>
> I have a lot more of these build errors. I can't remove the using namespace statement in the libagent.h file, because then I also have to modify the whole agent++ library to use the snmp++ namespace prefix. In general you DON'T define "using namespace <namespace>" in your header file.
>
More information about the AGENTPP
mailing list