* gnu-v3-abi.c (init_gnuv3_ops): Cast is_gnu_v3_mangled_dtor and

is_gnu_v3_mangled_ctor to avoid compiler warnings.
This commit is contained in:
Eli Zaretskii 2005-05-12 15:28:31 +00:00
parent 86b9da8823
commit 358777b0d6
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2005-05-12 Eli Zaretskii <eliz@gnu.org>
* gnu-v3-abi.c (init_gnuv3_ops): Cast is_gnu_v3_mangled_dtor and
is_gnu_v3_mangled_ctor to avoid compiler warnings.
* config/djgpp/config.sed: Adapt to latest Autoconf.
* config/djgpp/djconfig.sh: Add -Wpointer-arith and

View File

@ -424,8 +424,10 @@ init_gnuv3_ops (void)
gnu_v3_abi_ops.shortname = "gnu-v3";
gnu_v3_abi_ops.longname = "GNU G++ Version 3 ABI";
gnu_v3_abi_ops.doc = "G++ Version 3 ABI";
gnu_v3_abi_ops.is_destructor_name = is_gnu_v3_mangled_dtor;
gnu_v3_abi_ops.is_constructor_name = is_gnu_v3_mangled_ctor;
gnu_v3_abi_ops.is_destructor_name =
(enum dtor_kinds (*) (const char *))is_gnu_v3_mangled_dtor;
gnu_v3_abi_ops.is_constructor_name =
(enum ctor_kinds (*) (const char *))is_gnu_v3_mangled_ctor;
gnu_v3_abi_ops.is_vtable_name = gnuv3_is_vtable_name;
gnu_v3_abi_ops.is_operator_name = gnuv3_is_operator_name;
gnu_v3_abi_ops.rtti_type = gnuv3_rtti_type;