[ET Trac] [Einstein Toolkit] #1553: Prevent the user defining non-static functions in more than one object file
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Mon Mar 3 08:02:57 CST 2014
#1553: Prevent the user defining non-static functions in more than one object file
-------------------------+--------------------------------------------------
Reporter: hinder | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: Cactus | Version: development version
Keywords: |
-------------------------+--------------------------------------------------
If a non-static function is defined in more than one object file, the
results at run-time are unexpected or unpredictable. I was under the
impression that there were compiler options to prevent this. At least on
Mac OS, these must not be used, as I just ran into this problem.
So, either we find out which options are needed and add them, or we could
provide some additional checks in the build system to help catch this
error. For example, Cactus scheduled functions defined with the same name
should be easy to catch.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1553>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list