vaughan%cadillac.cad.mcc.com@MCC.COM (Paul Vaughan) (12/02/89)
You may not consider this a bug, it's really just an inappropriate error message. The following program ----------------------------- int barf() { return 1;} foo(int = barf) {} // line 4 main(){} ----------------------------- when compiled with g++ 1.36.1, gives the error message new.cc:4: sorry, not implemented: that operation not supported for default parameters which is the error it used to give when I would use new to make a default parameter. Note that the error is really a type mismatch, caused by typing "barf" instead of "barf()". I had been thinking there was still some kind of problem with using new to make default parameters, but I hadn't been able to nail it down. Now I understand why it was so difficult to isolate.