Hi,
I got a problem when I tried to compile a program with libmesh. The errors are
listed as below:
In file included from /Users/xxx/opt/libmesh/include/libmesh/dof_map.h:24:
In file included from
/Users/xxx/opt/libmesh/include/libmesh/libmesh_common.h:59:
/Users/xxx/opt/libmesh/include/libmesh/libmesh_exceptions.h:125:11: error:
exception specification of overriding function is more lax than base version
virtual ~SolverException() libmesh_noexcept {};
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/exception:95:13:
note: overridden virtual function is here
virtual ~exception() _NOEXCEPT;
^
In file included from /Users/xxx/code/anl-dlb/tests/exiomesh.cpp:3:
In file included from /Users/xxx/opt/libmesh/include/libmesh/dof_map.h:24:
In file included from
/Users/xxx/opt/libmesh/include/libmesh/libmesh_common.h:59:
/Users/xxx/opt/libmesh/include/libmesh/libmesh_exceptions.h:125:29: error:
expected ';' at end of declaration list
virtual ~SolverException() libmesh_noexcept {};
^
;
/Users/xxx/opt/libmesh/include/libmesh/libmesh_exceptions.h:130:24: error:
exception specification of overriding function is more lax than base version
virtual const char * what() const libmesh_noexcept
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/exception:96:25:
note: overridden virtual function is here
virtual const char* what() const _NOEXCEPT;
^
Is this error caused by the version of the compiler or anything else?
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel