This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
C++: problems with default args and const member functions
- To: gcc-bugs at gcc dot gnu dot org
- Subject: C++: problems with default args and const member functions
- From: Wolfgang Bangerth <Wolfgang dot Bangerth at IWR dot Uni-Heidelberg dot De>
- Date: Mon, 15 Jan 2001 10:01:47 +0100 (MET)
Hi there,
recently, I have found several compiler errors which are seemingly very
different but share one common feature: they go away if either
- the 'const'ness of a function is removed, or
- the default argument of the function is removed.
Some of these bugs have gone away the next day, but some remained (e.g.
c++/1632, c++/1652).
Maybe this observation of a common pattern is a ringing bell to someone.
Best regards + many thanks for your work,
Wolfgang
-------------------------------------------------------------------------
Wolfgang Bangerth email: wolfgang.bangerth@iwr.uni-heidelberg.de
www: http://gaia.iwr.uni-heidelberg.de/~wolf