This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix warning in p-valrint.c


Pointed out by Andrew, thanks.

Something is interesting here.  p-valprint.c is a copy/sed descendent of
cp-valprint.c; the functions in question are very much C++ specific and can
never be called.  Deleting them would be more useful, but I don't have time
to make sure I do it properly right now.

And Pierre Muller's email address in MAINTAINERS is almost certainly wrong,
as it is @sourceware.redhat.com, which never existed.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

2002-01-04  Daniel Jacobowitz  <drow@mvista.com>

        * p-valprint.c: Include "cp-abi.h" for baseclass_offset
        prototype.

Index: p-valprint.c
===================================================================
RCS file: /cvs/src/src/gdb/p-valprint.c,v
retrieving revision 1.7
diff -u -p -r1.7 p-valprint.c
--- p-valprint.c	2001/12/12 02:11:51	1.7
+++ p-valprint.c	2002/01/04 19:15:56
@@ -36,6 +36,7 @@
 #include "target.h"
 #include "annotate.h"
 #include "p-lang.h"
+#include "cp-abi.h"
 
 
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]