A possible bug
Jonathan Wakely
jwakely.gcc@gmail.com
Tue Oct 7 12:25:00 GMT 2014
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.
More information about the Gcc-help
mailing list