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;

^~~~
  • Comment on Re^4: Error when installing cpan's DBI module in Strawberry Perl

Replies are listed 'Best First'.
Re^5: Error when installing cpan's DBI module in Strawberry Perl
by bliako (Abbot) 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.