Correct patch to silence warning in eh_call.cc?
Ben Elliston
bje@au1.ibm.com
Tue Jul 19 03:55:00 GMT 2005
I'm really not sure that this patch is correct--I don't know the libstdc++ code well
enough. On my Linux system, the patch silences a warning about size_of_encoded_value
being defined but not used in eh_call.cc. I can't see any way for code in eh_call.c
to call size_of_encoded_value(), regardless of the target type.
OK?
Ben
2005-07-19 Ben Elliston <bje@au.ibm.com>
* libsupc++/eh_call.cc (NO_SIZE_OF_ENCODED_VALUE): Define.
Index: eh_call.cc
===================================================================
RCS file: /home/bje/gcc-cvs/gcc/libstdc++-v3/libsupc++/eh_call.cc,v
retrieving revision 1.2
diff -u -p -r1.2 eh_call.cc
--- eh_call.cc 28 Jun 2005 20:06:39 -0000 1.2
+++ eh_call.cc 19 Jul 2005 03:52:53 -0000
@@ -35,6 +35,7 @@
using namespace __cxxabiv1;
+#define NO_SIZE_OF_ENCODED_VALUE
#include "unwind-pe.h"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20050719/3fe02b39/attachment.sig>
More information about the Libstdc++
mailing list