-
This looks like the same issue I had with MS compilers - which I think I dealt with by amendments (rough hacks) made on 9 Oct 2008, to Basic/Core/pdl.h.PL (rev 1.13) and Basic/Gen/PP.pm (rev 1.49). Those changes affected MS compilers only - but maybe there's something there that helps towards providing a general solution. (If a better general solution could be found, I'd be quite happy to remove...
2009-06-08 12:05:26 UTC in Perl Data Language
-
I think, instead check that the call produces something that matches "pnmtopng:" (minus the quotes). If it does match, then we know we have pnmtopng - else, assume pnmtopng is unavailable.
Unfortunately pnmtopng seems to write *everything* to stderr - which means we have to parse the returned string to see whether the call succeeded, or whether the returned string is an error message.
I'll...
2009-04-30 01:54:13 UTC in Perl Data Language
-
The following patch to Basic/Math/math.pd (already applied to CVS) fixes this problem:
--- C:/_32/comp/PDL-2.4.4/Basic/Math/math.pd Wed Feb 25 15:32:19 2009
+++ PDL/Basic/Math/math.pd Wed Feb 25 15:39:29 2009
@@ -110,6 +110,9 @@
pp_addhdr('
#define finite _finite
#include
+#ifdef _MSC_VER
+double rint (double);
+#endif
');
}
Cheers,
Rob.
2009-02-25 23:16:24 UTC in Perl Data Language
-
The following patch to Basic/Math/math.pd (already applied to CVS) fixes this problem:
--- C:/_32/comp/PDL-2.4.4/Basic/Math/math.pd Wed Feb 25 15:32:19 2009
+++ PDL/Basic/Math/math.pd Wed Feb 25 15:39:29 2009
@@ -110,6 +110,9 @@
pp_addhdr('
#define finite _finite
#include
+#ifdef _MSC_VER
+double rint (double);
+#endif
');
}
Cheers,
Rob.
2009-02-25 07:03:13 UTC in Perl Data Language
-
sisyphus_ committed patchset 1670 of module PDL to the Perl Data Language CVS repository, changing 1 files.
2009-02-25 05:10:23 UTC in Perl Data Language
-
sisyphus_ committed patchset 1669 of module PDL to the Perl Data Language CVS repository, changing 1 files.
2009-02-25 05:07:30 UTC in Perl Data Language
-
As per bagder's request for a proper patch to configure.in:
--- configure.in_orig Sat Feb 21 21:46:40 2009
+++ configure.in Sat Feb 21 21:46:32 2009
@@ -29,8 +29,8 @@
AC_CANONICAL_HOST
case "$host" in
*-mingw*)
- CFLAGS="$CFLAGS -DLIBSSH2_WIN32 -DWINSOCK_VERSION=0x0200"
- LIBS="$LIBS -lws2_32"
+ CFLAGS="$CFLAGS -DWINSOCK_VERSION=0x0200"
+ LIBS="$LIBS...
2009-02-21 11:14:37 UTC in libssh2
-
Hi,
I'm using gcc version 3.4.5 (mingw special) with version 3.15.1 of the mingw runtime package - on Windows XP and Windows Vista.
The following is as I expect:
######################
C:\_32\c>type bug.c
#include
#include
int main(void) {
double a = 0x123.1P-02;
printf("%f\n", a);
return 0;
}
C:\_32\c>gcc -o bug.exe bug.c
C:\_32\c>bug...
2008-12-30 10:11:24 UTC in MinGW - Minimalist GNU for Windows
-
Hi,
I've just built a static libssh2-1.0 for native Win32 in the MSYS shell using the MinGW port of gcc-3.4.5. There were a couple of hoops to jump through:
In the configure script, I changed:
case "$host" in
*-mingw*)
CFLAGS="$CFLAGS -DLIBSSH2_WIN32 -DWINSOCK_VERSION=0x0200"
LIBS="$LIBS -lws2_32"
;;
to:
case "$host" in
*-mingw*)
CFLAGS="$CFLAGS...
2008-12-30 08:40:26 UTC in libssh2
-
I'm not entirely convinced that the lack of support for the POSIX-XSI extensions *necessarily* implies that the thousands grouping flag should be handled as just another invalid flag. It seems to me that those extensions could perhaps simply be ignored, rather than deemed invalid.
But I don't have any strong arguments to back that up ... and I'm not the one charged with writing the code :-)
In...
2008-12-29 00:39:20 UTC in MinGW - Minimalist GNU for Windows