On 2021-03-31 02:01, edgar wrote:
Dear John, --- 8< --- │ #endif /* LIBMESH_MACRO_HANDLER_H */ └──── Listing 2: header file (libmesh_macro_handle.h). Note that `libmesh_example_requires_fun' could have also been `int', but I modified it to show a stack trace too. --- 8< --- │ } └──── Listing 3: source file (libmesh_macro_handle.cpp)
Apologies, I just noticed that I left the code of =libmesh_example_requires_fun= in the header file =libmesh_macro_handle.h= (should only have the declaration). Obviously, the definition needs to be in =libmesh_macro_handle.cpp=. (It used to be a template. As such, it could have been in the header file. A template seemed like too much).
_______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users