[Bug c++/15624] Defined types lose const qualifiers in certain method signatures.

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon May 24 22:57:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-24 01:33 -------
Here is a smaller example:
typedef char* CharPtr;
void t(const CharPtr);
void f(const char *t1)
{
  t(t1);
}

But I think this is invalid.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  GCC build triplet|../configure --prefix=/usr -|
                   |-mandir=/usr/share/man --   |
                   |infodir=/us                 |
   GCC host triplet|Fedora Core 1               |
 GCC target triplet|3.3.2 20031022 (Red Hat     |
                   |Linux 3.3.2-1)              |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15624



More information about the Gcc-bugs mailing list