wrong warning on private constructors

Gabriel Dos Reis gdr@integrable-solutions.net
Tue Dec 17 13:34:00 GMT 2002


Stefan Seefeld <stefan.seefeld@orthosoft.ca> writes:

[...]

| Is there a way to disable this warning? Or better even, could this
| warning be dropped ?

I think the logic used in the implementation is broken.  I'm not
sanguine about dropping the warning (although I suspect that people
would suddendly fill reports).  Maybe a workable way would be to find
an exhaustive criterioon (no friends, no public memeber function) that
would make that warning unbroken. 

-- Gaby



More information about the Gcc mailing list