From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8394 invoked by alias); 12 Aug 2004 17:35:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 8383 invoked by uid 48); 12 Aug 2004 17:35:16 -0000 Date: Thu, 12 Aug 2004 17:35:00 -0000 Message-ID: <20040812173516.8382.qmail@sourceware.org> From: "bangerth at dealii dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040812165207.17006.oliverst@online.de> References: <20040812165207.17006.oliverst@online.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/17006] unused variable warning only shown on existing constructor X-Bugzilla-Reason: CC X-SW-Source: 2004-08/txt/msg01140.txt.bz2 List-Id: ------- Additional Comments From bangerth at dealii dot org 2004-08-12 17:35 ------- That's documented behavior: the warning about unused variables is only shown if the compiler can know that running con- and destructors has no side-effects. W. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17006