eppstein@garfield.columbia.edu (David Eppstein) (09/19/87)
(1) Is there a good reason for the filename argument to filebuf's ctor (from <stream.h>) being (char *)? I would prefer (const char *). (2) The following fragment: int y(); void z(); inline int x() { if (y()) return 1; else { z(); return 0; } } ... if (x()) ... gives the following (bogus, note the missing zero) expansion: ... if (( y ( ) ? 1 : z ( ) ) ) ... Both of these bugs, as well as the ones I reported in an earlier message, are in C++ version 1.2. -- David Eppstein, eppstein@cs.columbia.edu, Columbia U. Computer Science Dept.
eppstein@garfield.columbia.edu (David Eppstein) (09/20/87)
In a previous posting I claimed the bugs I was finding were in C++ v1.2. It turns out that we are running 1.1; I was confused because the CC shell script says 1.2 (apparently for some other reason). -- David Eppstein, eppstein@cs.columbia.edu, Columbia U. Computer Science Dept.