Skip Menu |

This queue is for tickets about the Win32-Clipboard CPAN distribution.

Report information
The Basics
Id: 8066
Status: new
Priority: 0/
Queue: Win32-Clipboard

People
Owner: Nobody in particular
Requestors: fgm [...] arraycomm.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.52
Fixed in: (no value)



Subject: Doesn't seem to work with cygwin and Windows 2000
Operating system is cygwin under Windows 2000 Professional. From Win32-Clipboard-0.52: [fgm@FMUENNEMANN Win32-Clipboard-0.52]$ perl -v This is perl, v5.8.5 built for cygwin-thread-multi-64int Copyright 1987-2004, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. [fgm@FMUENNEMANN Win32-Clipboard-0.52]$ perl Makefile.PL Unrecognized argument in LIBS ignored: 'user32.lib' Writing Makefile for Win32::Clipboard [fgm@FMUENNEMANN Win32-Clipboard-0.52]$ xwinclip UnicodeSupport - Windows NT/2000/XP [fgm@FMUENNEMANN Win32-Clipboard-0.52]$ make gcc -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include -DUSEIMPORTLIB -O2 -DVERSION=\"0.52\" -DXS_VERSION=\"0.52\" "-I/usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE" Clipboard.cpp In file included from /usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE/perl.h:2838, from Clipboard.xs:28: /usr/include/ieeefp.h:185: error: previous declaration of `int isnan(double)' with C++ linkage /usr/include/math.h:125: error: conflicts with new declaration with C linkage /usr/include/ieeefp.h:186: error: previous declaration of `int isinf(double)' with C++ linkage /usr/include/math.h:126: error: conflicts with new declaration with C linkage /usr/include/ieeefp.h:187: error: previous declaration of `int finite(double)' with C++ linkage /usr/include/math.h:127: error: conflicts with new declaration with C linkage /usr/include/ieeefp.h:191: error: previous declaration of `int isnanf(float)' with C++ linkage /usr/include/math.h:240: error: conflicts with new declaration with C linkage /usr/include/ieeefp.h:192: error: previous declaration of `int isinff(float)' with C++ linkage /usr/include/math.h:241: error: conflicts with new declaration with C linkage /usr/include/ieeefp.h:193: error: previous declaration of `int finitef(float)' with C++ linkage /usr/include/math.h:242: error: conflicts with new declaration with C linkage make: *** [Clipboard.o] Error 1
From: contact [...] fxmakers.net
Just comment the line nÂș 2838 of your perl.h file: /*# include <math.h>*/ and make && make install This will work as there is an alternative statement defining some constants and not the duplicated functions declared before in math.h Cheers