[Bug 1186943] Re: FTBFS with gcc-4.8: error: invalid qualifiers on non-member function type

Bug Watch Updater 1186943 at bugs.launchpad.net
Mon Jun 3 11:36:05 UTC 2013


Launchpad has imported 3 comments from the remote bug at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57279.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2013-05-14T18:37:48+00:00 Daniel-kruegler wrote:

The following code is rejected if compiled with gcc 4.9.0 20130505
(experimental) using the flags

-std=c++11 -Wall -pedantic-errors

//------------------------------------
typedef void fc1() const; // OK
typedef void frr1() &&; // OK
typedef void fcr1() const &;
using fc2 = void() const; // #4
using frr2 = void() &&; // OK
using fcr2 = void() const &; // #6
//------------------------------------

"main.cpp|4|error: invalid qualifiers on non-member function type|
 main.cpp|6|error: invalid qualifiers on non-member function type|"

According to 8.3.5 [dcl.fct] p6 function type declarations with cv-
qualifiers are valid via alias-declarations (b3).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/calligra/+bug/1186943/comments/0

------------------------------------------------------------------------
On 2013-05-16T20:10:36+00:00 Jason-gcc wrote:

Fixed.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/calligra/+bug/1186943/comments/1

------------------------------------------------------------------------
On 2013-05-31T10:58:19+00:00 Jakub-gcc wrote:

GCC 4.8.1 has been released.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/calligra/+bug/1186943/comments/2


** Changed in: gcc
       Status: Unknown => In Progress

** Changed in: gcc
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to calligra in Ubuntu.
https://bugs.launchpad.net/bugs/1186943

Title:
  FTBFS with gcc-4.8: error: invalid qualifiers on non-member function
  type

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1186943/+subscriptions




More information about the kubuntu-bugs mailing list