[Prev][Next][Index]
pC++2dep: multiply defined symbols
- To: sage-bugs@cica.INDIANA.EDU
- Subject: pC++2dep: multiply defined symbols
- Date: Mon, 23 Jan 1995 14:30:36 -0500
- From: Erik Seligman <Erik_Seligman@BEEHIVE.MC.CS.CMU.EDU>
Is there any way to get pC++2dep to accept some undefined symbols, rather
than crashing with an error message?
The reason I ask is that when I fully preprocess (with cpp) my source to get
rid of all the #includes, I find that my system include files (such as
streambuf.h) have some constructs that pC++2dep doesn't like. For example,
this should be legal, but I get an error message due to the double declaration
of 'open_mode', even though it is in a different scope:
---------
enum open_mode {
... };
class ios : public _ios_fields {
public:
...
enum open_mode {
...
----------
But in any case, I don't really need to preprocess so deeply that I see all
the system include files; I would rather just not expand the #include and leave
the stream primitives undefined. Is there any way to do this with your system?
Thanks!
---Erik
eriks@cs.cmu.edu