g++ regression - or not ?

Artem Khodush artem@duma.gov.ru
Tue Jun 5 03:44:00 GMT 2001


Dirk Mueller wrote:
> 
> Any comment on the other part of the question ? why does gcc allow calling a 
> static method with a "this" pointer ? 

just because it's allowed in the c++ language.

>and not even warn about it ?

Boilerplate answer: 
because no one bothered to implement the warning and/or considered it useful.
 





More information about the Gcc-bugs mailing list