A frequent reason for this type of problem is that you have some #ifndef protection in trains_CDM.hh, like
#ifndef TRAINS_CDM_HH #define TRAINS_CDM_HH ... #endif and included THE SAME protection in trains_tcb.hh. In which case trains_tcb.hh will get included, but ignored (because TRAINS_CDM_HH is already defined). I'd check for something like that. Eddie Nele Gheysens wrote: > Hi, > > Thank you for your advice, this would indeed be the most logical > solution. But I included trains_tcb.hh in trains_CDM.hh. And > trains_CDM.hh is included in trains_CDM.cc, so I really don't understand > why the compiler is ignoring this file. > > Greetings, > Nele > > > > [EMAIL PROTECTED] wrote: > > Date: Fri, 06 Jul 2007 08:22:52 -0700 > From: Eddie Kohler <[EMAIL PROTECTED]> > Subject: Re: [Click] element_provides and element_requires > To: Bart Braem <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > I agree with Bart, Nele; it sounds like you have not put > #include "trains_tcb.hh" > in the top of trains_CDM.cc. > > Eddie > _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
