This is the mail archive of the gcc@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]

Re: Removing annoying warnings


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



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