[ET Trac] [Einstein Toolkit] #229: Using a nonexistent header file should lead to an error message
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Tue Mar 8 10:54:34 CST 2011
#229: Using a nonexistent header file should lead to an error message
--------------------------+-------------------------------------------------
Reporter: hinder | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: Cactus | Version:
Resolution: | Keywords:
--------------------------+-------------------------------------------------
Comment (by eschnett):
The "uses include" and "uses include header" mechanism was designed to
combine multiple files into one. For example, Cactus makes copies of these
files, and there is no error when two thorns provide the same header file
-- they are concatenated. This is also probably something that few people
expect.
I want to argue that this mechanism is not what we want to use here at
all. Instead, thorn Vectors should set up the include path so that the
header files it provides are found by other thorns. Other thorns then say
"#include <...>", and if the include file is not found, it is clear what
is going wrong -- the include path is not set correctly, which is
something every C programmer is familiar with.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/229#comment:11>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list