Cereal 1.3.0 compile error "declaration with an exception-specification..."

12 views
Skip to first unread message

Paul Roberts

unread,
Jul 28, 2020, 5:01:36 PM7/28/20
to cereal serialization library
Hello all,

Seems to be something simple here. I am using Cereal 1.3.0 to attempt a simple JSONInputArchive test program.

When I compile, I get the following error:

Inc/cereal/archives/json.hpp:447:7: error: function 'virtual cereal::JSONInputArchive::~JSONInputArchive()' defaulted on its first declaration with an exception-specification that differs from the implicit declaration 'cereal::JSONInputArchive::~JSONInputArchive()'

That is the only error that I am getting.

Compiler is:

Compiler 'GNU ARM 4.7.3'

I am setting:-std=c++11

Thanks!

Paul R.
Reply all
Reply to author
Forward
0 new messages