[ET Trac] [Einstein Toolkit] #229: Using a nonexistent header file should lead to an error message

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri Jan 21 08:50:15 CST 2011


#229: Using a nonexistent header file should lead to an error message
--------------------+-------------------------------------------------------
 Reporter:  hinder  |       Owner:     
     Type:  defect  |      Status:  new
 Priority:  major   |   Milestone:     
Component:  Cactus  |     Version:     
 Keywords:          |  
--------------------+-------------------------------------------------------
 If I have the following in my interface.ccl,

   USES INCLUDE: vectors.h

 but no thorn in my thornlist provides this header file, there is no error
 at compile time.  Further, if I #include this file in my source file, an
 empty file is included, which means that again I don't get an error.  The
 first indication that something is wrong is that the contents of the
 header file are not available, which makes debugging the problem with the
 thornlist very confusing.

 I propose that the CST should emit a fatal error if one of the thorns
 tries to use a header file which does not exist.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/229>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list