From: zbyte pepsi-h. <zb...@gm...> - 2005-11-29 08:28:21
|
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 generate= d 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? |