Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^4: Error when installing cpan's DBI module in Strawberry Perl

by underTheRadar (Acolyte)
on Feb 23, 2019 at 11:43 UTC ( [id://1230463]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Error when installing cpan's DBI module in Strawberry Perl
in thread Error when installing cpan's DBI module in Strawberry Perl

Here's the last lines of text before the error showed up:

Perl.c:1356:5: note: in expansion of macro 'dVAR'
dVAR; dXSARGS;

^~~~

Perl.c: In function 'XS_DBD__Perl__st_FETCH_attrib':
C:\Dwimperl\perl\lib\CORE/perl.h:340:39: warning: unused variable 'Perl___notused' -Wunused-variable #define dNOOP extern int /*@unused@*/ Perl___notused PERL_UNUSED_DECL

^

C:\Dwimperl\perl\lib\CORE/perl.h:162:17: note: in expansion of macro 'dNOOP'
# define dVAR dNOOP

^~~~~

Perl.c:1384:5: note: in expansion of macro 'dVAR'
dVAR; dXSARGS;

^~~~

Perl.c: In function 'XS_DBD__Perl__st_DESTROY':
C:\Dwimperl\perl\lib\CORE/perl.h:340:39: warning: unused variable 'Perl___notused' -Wunused-variable
#define dNOOP extern int /*@unused@*/ Perl___notused PERL_UNUSED_DECL

^ C:\Dwimperl\perl\lib\CORE/perl.h:162:17: note: in expansion of macro 'dNOOP'
# define dVAR dNOOP

^~~~~

Perl.c:1412:5: note: in expansion of macro 'dVAR'
dVAR; dXSARGS;

^~~~

Perl.c: In function 'boot_DBD__Perl':
C:\Dwimperl\perl\lib\CORE/perl.h:340:39: warning: unused variable 'Perl___notused' -Wunused-variable
#define dNOOP extern int /*@unused@*/ Perl___notused PERL_UNUSED_DECL

^

C:\Dwimperl\perl\lib\CORE/perl.h:162:17: note: in expansion of macro 'dNOOP'
# define dVAR dNOOP

^~~~~

Perl.c:1470:5: note: in expansion of macro 'dVAR'
dVAR; dXSARGS;

^~~~

Replies are listed 'Best First'.
Re^5: Error when installing cpan's DBI module in Strawberry Perl
by bliako (Monsignor) on Feb 23, 2019 at 12:41 UTC

    Aren't these warnings because of  -Wunused-variable? Is there a line where it says "error:" ? I am afraid to ask you to post the full log in case it's too big.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1230463]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-03-28 08:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found