Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Net-SSH2 CPAN distribution.

Report information
The Basics
Id:
87398
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
d.thomas [...] its.uq.edu.au
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
0.49
Fixed in:
(no value)



Subject: -pedantic-errors means '#warning' *is* an error
perl-5.16.3, RHEL6, gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) NB perl built without threads root@noble$ make gcc -c -I/usr/include -I/usr/local/include -I. -DPERL_GCC_PEDANTIC -std=c89 -pedantic-errors -Wno-long-long -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.49\" -DXS_VERSION=\"0.49\" -fPIC "-I/opt/perl/cis.perl-base2.rhel6-5.16.3.20130729/lib/5.16.3/x86_64-linux/CORE" SSH2.c SSH2.xs:35:2: error: #warning is a GCC extension SSH2.xs:35:2: warning: #warning "Building a non-threadsafe Net::SSH2" ... SSH2.xs:2205: warning: value computed is not used make: *** [SSH2.o] Error 1 changing '-pedantic-errors' in Makefile.PL to '-pedantic' make ... SSH2.xs:35:2: warning: #warning is a GCC extension SSH2.xs:35:2: warning: #warning "Building a non-threadsafe Net::SSH2" ... SSH2.xs:2205: warning: value computed is not used Running Mkbootstrap for Net::SSH2 () ... Manifying blib/man3/Net::SSH2.3 'make test' PASSes
Fixed in 0.50 by remving the #warning call. Tested on non-threaded perl. Thanks for the report!


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.