Re: Warning location fix, PR c++/69733

2016-02-10 Thread Jakub Jelinek
On Wed, Feb 10, 2016 at 08:26:42PM +0100, Bernd Schmidt wrote: > This PR notes that in this warning: > const.ii:5:25: warning: type qualifiers ignored on function return type > [-Wignored-qualifiers] > const double value() const {return val;} > ^ > > we are pointin

Warning location fix, PR c++/69733

2016-02-10 Thread Bernd Schmidt
This PR notes that in this warning: const.ii:5:25: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const double value() const {return val;} ^ we are pointing at the wrong qualifier. Below I'm attaching a patch that makes it point