-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message


I'm getting a lot of warnings when compiling DBD::Pg using Perl 5.8.8
that look like this:

warning: "PERL_UNUSED_DECL" redefined

I traced this back to the dbippport.h file in DBI. I'm not familiar enough
with Devel::PPPort to know if this is the proper solution, or even a
good one, but it certainly clears up the warnings above.


Index: dbipport.h
===================================================================
--- dbipport.h  (revision 3726)
+++ dbipport.h  (working copy)
@@ -217,6 +217,7 @@
 /* Replace: 0 */
 #endif
   
+#ifndef PERL_UNUSED_DECL
 #ifdef HASATTRIBUTE
 #  if defined(__GNUC__) && defined(__cplusplus)
 #    define PERL_UNUSED_DECL
@@ -226,6 +227,7 @@
 #else
 #  define PERL_UNUSED_DECL
 #endif
+#endif
   
 #ifndef dNOOP
 #  define NOOP (void)0


--
Greg Sabino Mullane [EMAIL PROTECTED]
PGP Key: 0x14964AC8 200604041044
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8

-----BEGIN PGP SIGNATURE-----

iD8DBQFEMobXvJuQZxSWSsgRAoqcAJwKYzXwblFKcUIe8ObGsx5S/PmQ6gCfaPgO
xk6MKxGDvs5qFkAApF8ju2E=
=XNna
-----END PGP SIGNATURE-----


Reply via email to