[AGENT++] src/asn1.cpp:386:5: error: ISO C++17 does not allow 'register' storage class specifier
Claus Klein
claus.klein at arcormail.de
Wed Aug 22 08:45:33 CEST 2018
Hi,
I know, but I have tested if there are deprecated functions or syntax used, like std::auto_ptr<>, register, …
see https://en.cppreference.com/w/cpp/memory/auto_ptr
C++17 is the current standard, I think, it should be supported too!
Best regards,
Claus
> Am 21.08.2018 um 22:26 schrieb J.R. Heisey <jrheisey at raytheon.com>:
>
> I see "--std=c++17 " on the command line to g++.
> I suspect that the snmp++ code is not written to conform to this new standard.
> Try "--std=c++11" or "--std=c++98"
More information about the AGENTPP
mailing list