|
From: Christophe Prud'h. <pru...@MI...> - 2000-08-23 14:20:10
|
> > * class is missing in Friend declaraion in Synchronized.hpp > > don't need it because it is foward declared in > DECLARE_CLASS(Synchronized) as per C++ standard. > Are you getting an error? Yes ! > > * warning with corelinux::##tag (common.hpp) don't know yet how to fix it > > whats the warning? can't paste tag after token I''l send an email to the gcc dev mailing list > > BTW Frank why do you need to do this > > > > #if !defined(__ITERATOR_HPP) > > #include <Iterator.hpp> > > #endif > > > > since it is done already in Iterator.hpp ? > > Please elucidate? In any file you include, for example, Iterator.hpp you do what I wrote a few lines above but in Iterator.hpp, you do #if !defined(__ITERATOR_HPP) #define __ITERATOR_HPP the code #endif so you do the same thing twice, you don't need to check Iterator.hpp multiple inclusion since it is handled by the header file itself !! -- Christophe Prud'homme | MIT, 77, Mass Ave, Rm 3-243 | Cambridge MA 02139 | All laws are simulations of reality. Tel (Office) : (00 1) (617) 253 0229 | -- John C. Lilly Fax (Office) : (00 1) (617) 258 8559 | http://augustine.mit.edu/~prudhomm | Following the hacker spirit |