[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2009-07-29 21:43:59
Message-ID: 20090729214359.551A517E5E () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=201943


Andreas Pakulat <apaku@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|general                     |Language Support: CPP
   Target Milestone|---                         |4.0.0
            Summary|c++ compile error:          |adds extra  ´const ´ when
                   |duplicate  ´const ´           |auto-implementing a
                   |                            |declared function that uses
                   |                            |const <primitive type>
     Ever Confirmed|0                           |1




--- Comment #1 from Andreas Pakulat <apaku gmx de>  2009-07-29 23:43:58 ---
Confirmed, const char* is changed into "const const char*" in the
implementation.

This seems to happen for all primitve types with and without pointer, i.e. also
for foo(const int) and foo(const char). But not for classes, i.e.
operator(const QString*) is ok.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic