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]
Other format: [Raw text]

[Bug c++/10416] 'unused variable' warning ignores ctor/dtor side-effects


------- Additional Comments From mbp at sourcefrog dot net  2004-08-11 00:02 -------
Workaround: Adding an empty constructor suppresses the warning.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10416


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