On Wed, Feb 22, 2012 at 10:04:45AM +0000, Martin J. Evans wrote: > DBI.xs(4291) : error C2275: 'SV' : illegal use of this type as an expression > C:\Perl\lib\CORE\perl.h(2243) : see declaration of 'SV' ... > Lines 4291 and 4292 are: > MY_CXT_INIT; > (void)MY_CXT; /* avoid 'unused variable' warning */
Hopefully the diff below should fix it. Need declarations before code!
--
Gravity is just a theory; teach Intelligent Falling in our schools!
http://www.theonion.com/content/node/39512
diff --git a/DBI.xs b/DBI.xs
index 144cfe5..3155c44 100644
--- a/DBI.xs
+++ b/DBI.xs
@@ -4290,9 +4290,10 @@ PROTOTYPES: DISABLE
BOOT:
+ MY_CXT_INIT;
+
(void)cv;
(void)items; /* avoid 'unused variable' warning */
- MY_CXT_INIT;
(void)MY_CXT; /* avoid 'unused variable' warning */
dbi_bootinit(NULL);
Navigate to other messages
Navigate to other messages within this thread
- Problems with DBI 1.617_903 on MSWin32 Tim Bunce
- Re: Problems with DBI 1.617_903 on MSWin32 H.Merijn Brand
- Re: Problems with DBI 1.617_903 on MSWin32 Martin J. Evans
- Re: Problems with DBI 1.617_903 on MSWin32 Martin J. Evans
- Re: Problems with DBI 1.617_903 on MSWin32 Martin J. Evans
- Re: Problems with DBI 1.617_903 on MSWin3... Dave Mitchell
- Re: Problems with DBI 1.617_903 on M... Martin J. Evans
- Re: Problems with DBI 1.617_903 ... Dave Mitchell
- Re: Problems with DBI 1.617_... Martin J. Evans
- ActivePerl build failures (was: Problems with... Tim Bunce
- Re: ActivePerl build failures Martin J. Evans
- Re: ActivePerl build failures Tim Bunce
- Re: ActivePerl build failures Martin J. Evans
