public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* many -Wincompatible-pointer-types on clang with gdb-7.9
@ 2015-02-27 23:23 Jack Howarth
  2015-02-27 23:33 ` Pedro Alves
  0 siblings, 1 reply; 6+ messages in thread
From: Jack Howarth @ 2015-02-27 23:23 UTC (permalink / raw)
  To: gdb

On gdb-7.9, we are seeing a large number of warnings from
-Wincompatible-pointer-types with clang...

./guile/guile.c:474:25: warning: incompatible pointer types
initializing 'scm_t_subr' (aka 'void (*)()') with an expression of
type 'SCM (SCM, SCM)'
      [-Wincompatible-pointer-types]
  { "execute", 1, 0, 1, gdbscm_execute_gdb_command,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
./guile/guile.c:487:32: warning: incompatible pointer types
initializing 'scm_t_subr' (aka 'void (*)()') with an expression of
type 'SCM (void)'
      [-Wincompatible-pointer-types]
  { "data-directory", 0, 0, 0, gdbscm_data_directory,
                               ^~~~~~~~~~~~~~~~~~~~~
./guile/guile.c:491:38: warning: incompatible pointer types
initializing 'scm_t_subr' (aka 'void (*)()') with an expression of
type 'SCM (void)'
      [-Wincompatible-pointer-types]
  { "guile-data-directory", 0, 0, 0, gdbscm_guile_data_directory,
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~

These all are associated with the guile/scm-*.c files.
           Jack

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-02-27 23:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-27 23:23 many -Wincompatible-pointer-types on clang with gdb-7.9 Jack Howarth
2015-02-27 23:33 ` Pedro Alves
2015-02-27 23:54   ` Jack Howarth
2015-02-27 23:58     ` Jack Howarth
2015-02-28  6:13       ` Pedro Alves
2015-02-28  7:28     ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).