9 messages in com.perforce.jamming[jamming] Problem with header file sc...
FromSent OnAttachments
Peter Klotz10 Feb 2003 12:33 
Matt Armstrong10 Feb 2003 12:50 
Peter Klotz10 Feb 2003 12:59 
Matt Armstrong10 Feb 2003 20:38 
Vladimir Prus10 Feb 2003 21:55 
Peter Klotz10 Feb 2003 22:52 
Peter Klotz10 Feb 2003 22:53 
Matt Armstrong11 Feb 2003 07:54 
Matt Armstrong11 Feb 2003 08:00 
Subject:[jamming] Problem with header file scanning and updates
From:Peter Klotz (pete@aon.at)
Date:02/10/2003 12:33:17 PM
List:com.perforce.jamming

I have the following problem with jam 2.4:

base.ui --> (base.cpp, base.hpp) --> (derived.cpp, derived.hpp)

The pair base.cpp/base.hpp is generated from base.ui.

The contents of derived.cpp and derived.hpp are as follows (simplified):

derived.cpp: #include "derived.hpp"

derived.hpp #include "base.hpp"

If I change base.ui, jam detects that it has to (re)generate base.cpp/base.hpp. Then header file scanning finds that derived.hpp includes base.hpp and that derived.cpp includes derived.hpp.

Unfortunately derived.cpp is not rebuilt for some reason, although it should be.

Has anybody an idea?

Best regards, Peter.