[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Solaris Build Summary
Hi,
First off, thanks to Randy and James Hammerton for replies.
I had to make some code changes to get pdp++ compiled on
a SUN4solaris 5.7 which may be of general relevance. I
used g++ 2.95.2
in src/ta/streambuf-g++-2.8.1.h
in class ios
changed
void sync_with_stdio() {sync_with_stdio(1); }
to
inline void sync_with_stdio() {sync_with_stdio(1); }
because
in ta_TA.cc the compiler was complaining about these virtual
functions. There is probably a better way to change the code in
the .cc to specify the address of the () func. vs. the (int) one, but
I don't remember how to do this.
in src/css/machine.cc
changed
extern rl_stuff_char(int);
to
extern int rl_stuff_char(int);
because
compiler didn't like non-ANSI missing return type
changed
pt = (top->state & cssProg::State_Defn) ? "#" : ">";
to
pt = (top->state & cssProg::State_Defn) ? (char *)"#" : (char *)">";
because
compiler complained about assigning const char * to char *
Regards,
Ron Shapiro