This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
warning regression in cp-demangle.c
- To: samuel at codesourcery dot com
- Subject: warning regression in cp-demangle.c
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Thu, 24 Aug 2000 10:59:01 -0400 (EDT)
- Cc: gcc-bugs at gcc dot gnu dot org
Hi Alex,
I believe your recent change to cp-demangle.c caused the following
warning regression:
> libiberty/cp-demangle.c: In function `result_add_separated_char':
> libiberty/cp-demangle.c:395: warning: promoted argument `character'
> doesn't match prototype
> libiberty/cp-demangle.c:200: warning: prototype declaration
Using `char' in a prototype with an old style function defintiion
works in gcc as an extension, but some ANSI compilers will flat out
reject it. I think if you change the type of parameter `character' to
int that should fix it. Would you please take care of this?
Thanks,
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions