From: <se...@in...> - 2005-11-29 20:54:40
|
On Tue, 2005-11-29 at 00:28 -0800, zbyte pepsi-hola wrote: > Unfortunately I have not seen examples of OpenC++ one larger > applications. So as a result I am uncertain about how/where the code > is put when generated and wether linking problems will become an > issue. To illistrate my question, lets say I have the following: > > foo.cc & foo.hh > bar.cc & bar.hh > > now, bar.cc includes both bar.hh and foo.hh. foo.hh implements a > metaclass. Now I compile both foo and bar and link it together. So my > question is, how many times is foo preprocessed, 1 or 2 times? if > twice, how does openc++ take care of duplicate linking issues? If this > is a problem, how do I get around it? try, $ occ2 --help if it does not answer your question, ask again. hope it help |