#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.