Mail Archives: djgpp/1995/04/11/14:47:29
why does it seem that no matter how much time you spend on a problem, it isn't
until 5 minutes after you ask for help that you find an answer on your own?
actually, i don't even remember if this should technically work, but here's
what i did:
class zb : public db{
...
struct fstruct *node;
...
}
struct fstruct is define in "class db" which _is_ defined in an include earlier
on. changing it to:
class zb : public db{
...
struct db::fstruct *node;
...
}
fixes this segmentation fault. i don't remember if you should be able to
reference a structure defined in an inherited class or not, but if the compiler
doesn't support this, i would think it would generate an error rather than a
segmentation violation. would this be a bug in gcc or djgpp?
oh, and i found the functions i was looking for. i guess i just really needed
to know what the libraries are because libpc.a or libpc_p.a don't tell me much.
is there a listing of this sort somewhere?
have a good one,
robert hollinger
--
Robert Hollinger <------------------------------------->
4B Chaucer Ln. > \ www- http://www.xnet.com/~bob / < Disclaimer:
Streamwood, IL 60107 > \/\/ bob AT xnet DOT com \/\/ <
708-483-9391 <------------------------------------->I don't know her!
"Want some pretzels?"
"No thanks, we're on duty. A couple beers would be nice, though."
- Raw text -