This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

C++: problems with default args and const member functions



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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]