You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Neuron implements signal handlers in oc/hoc.c to handle SIGINT, SIGFPE, SIGSEGV and SIGBUS. The signal handlers produce a core dump and abort. Additionally it would be useful to print the stack trace to help the user/programmer to quickly find the offending code.
The text was updated successfully, but these errors were encountered:
Without this fix then building
NMODL-as-a-submodule-of-CoreNEURON-as-a-submodule-of-NEURON would not
work if code formatting was enabled in NEURON following the recipe of
#1460. This was apparently
because NMODL was formatting NMODL generated code using a clang-format
configuration file from NEURON, which uses C++03 compatibility. This
breaks NMODL code compilation by adding a space before `_format` in
`"..{}.."_format("bar")`, which is not valid.
Also change the handling of the --clang-format-opts option so that the
${NMODL_ClangFormat_OPTIONS} option should actually work. Previously the
CMake code would generate something like:
--clang-format-opts A B --clang-format-opts="--style=file"
where the `A B` part would then be ignored.
Update hpc-coding-conventions submodule commit.
Neuron implements signal handlers in
oc/hoc.c
to handleSIGINT
,SIGFPE
,SIGSEGV
andSIGBUS
. The signal handlers produce a core dump and abort. Additionally it would be useful to print the stack trace to help the user/programmer to quickly find the offending code.The text was updated successfully, but these errors were encountered: