Removing annoying warnings

Magnus Fromreide magfr@lysator.liu.se
Thu Aug 23 07:21:00 GMT 2001


Well, there is no way to turn of it for just that instance but the option 
-Wno-ctor-dtor-privacy turns off that warning globally.

My personal opinon is that the compiler shouldn't issue that warning
unless the user tries to access the constructor from outside the class.

/Also annoyed




More information about the Gcc mailing list