[Prev][Next][Index]
Re: seg faults when parsing examples; also, pC++2dep and #include
- From: "Beata Winnicka" <bfatyga@slab.cica.indiana.edu>
- Date: Mon, 23 Jan 95 15:12:32 -0500
- To: Erik Seligman <Erik_Seligman@BEEHIVE.MC.CS.CMU.EDU>
- Subject: Re: seg faults when parsing examples; also, pC++2dep and #include
- Cc: sage-bugs@cica.indiana.edu
> I have just built sage++ (on my Alpha PC running OSF1 2.0),
> and started playing with the example programs. When I try
> to use pC++2dep to process the templated example files
> (new_file/x.c and template_demo/x.c), I get a
> segmentation fault.
>
> Is this a known problem? Am I doing something wrong? I can
> successfully use the array_decl example, so I think my
> build has basically succeeded...
>
This looks like a not-yet-known problem. Any chance you could run
pC++2dep from a debugger and find out where exactly it core dumps?
(Also would be helpful to know what compiler you are using.)
> Do I have to use cpp to eliminate #includes from my
> sources, or am I missing something?
>
Yes, you do need to run the preprocessor first.
--Beata