From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25319 invoked by alias); 16 Jul 2004 03:36:38 -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 25302 invoked by uid 48); 16 Jul 2004 03:36:37 -0000 Date: Fri, 16 Jul 2004 03:36:00 -0000 Message-ID: <20040716033637.25301.qmail@sourceware.org> From: "bangerth at dealii dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040716015746.16582.giovannibajo@libero.it> References: <20040716015746.16582.giovannibajo@libero.it> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/16582] Wrong diagnostic when using "&a[1]" as template argument X-Bugzilla-Reason: CC X-SW-Source: 2004-07/txt/msg01971.txt.bz2 List-Id: ------- Additional Comments From bangerth at dealii dot org 2004-07-16 03:36 ------- Confirmed. This is about the worst message I've seen in a long while :) Here's what icc says: g/x> icc -c -Xc -ansi x.cc x.cc(8): error: this operator is not allowed in a template argument expression X x3; // ERROR ^ compilation aborted for x.cc (code 2) W. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2004-07-16 03:36:36 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16582