From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2138 invoked by alias); 14 Mar 2008 08:50:17 -0000 Received: (qmail 1764 invoked by uid 48); 14 Mar 2008 08:49:35 -0000 Date: Fri, 14 Mar 2008 08:50:00 -0000 Message-ID: <20080314084935.1763.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/35571] `static function member` cannot appeat in a constant-expression. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pluto at agmk dot net" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-03/txt/msg01056.txt.bz2 ------- Comment #5 from pluto at agmk dot net 2008-03-14 08:49 ------- (In reply to comment #3) > Doing: > typedef X F; > > > Fixes the error message. > oh, so the comeau accepts invalid code :-) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35571