From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8935 invoked by alias); 7 Oct 2014 12:25:01 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 8924 invoked by uid 89); 7 Oct 2014 12:25:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-la0-f47.google.com Received: from mail-la0-f47.google.com (HELO mail-la0-f47.google.com) (209.85.215.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 07 Oct 2014 12:24:59 +0000 Received: by mail-la0-f47.google.com with SMTP id pv20so6301945lab.34 for ; Tue, 07 Oct 2014 05:24:55 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.152.197.2 with SMTP id iq2mr3753870lac.87.1412684695566; Tue, 07 Oct 2014 05:24:55 -0700 (PDT) Received: by 10.112.4.73 with HTTP; Tue, 7 Oct 2014 05:24:55 -0700 (PDT) In-Reply-To: <5433D2D3.4040300@gmail.com> References: <54337368.4070407@gmail.com> <5433B232.6070401@gmail.com> <5433D2D3.4040300@gmail.com> Date: Tue, 07 Oct 2014 12:25:00 -0000 Message-ID: Subject: Re: A possible bug From: Jonathan Wakely To: Ivo Doko Cc: gcc-help Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg00040.txt.bz2 On 7 October 2014 12:47, Ivo Doko wrote: > On 2014-10-07 12:48, Jonathan Wakely wrote: > I fail to see where else I am supposed to define these variables for use > inside the class. Provide an out-of-class definition. Please read https://gcc.gnu.org/wiki/VerboseDiagnostics#missing_static_const_definition more carefully, all the way to the end of that section. Also try reading the http://www.stroustrup.com/bs_faq2.html#in-class page it links to.