projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a6e063f
)
Fix warnings in configure script
author
Ian Lynagh
<igloo@earth.li>
Mon, 15 Jun 2009 21:48:50 +0000
(21:48 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Mon, 15 Jun 2009 21:48:50 +0000
(21:48 +0000)
aclocal.m4
patch
|
blob
|
history
diff --git
a/aclocal.m4
b/aclocal.m4
index
211ba92
..
615cbe1
100644
(file)
--- a/
aclocal.m4
+++ b/
aclocal.m4
@@
-145,7
+145,7
@@
int main(void) {
if (((testing)((int)((testing)1.4))) == ((testing)1.4)) {
fprintf(f, "%s%d\n",
((testing)(-1) < (testing)0) ? "Int" : "Word",
if (((testing)((int)((testing)1.4))) == ((testing)1.4)) {
fprintf(f, "%s%d\n",
((testing)(-1) < (testing)0) ? "Int" : "Word",
- sizeof(testing)*8);
+ (int)(sizeof(testing)*8));
} else {
fprintf(f,"%s\n",
(sizeof(testing) > sizeof(double)) ? "LDouble" :
} else {
fprintf(f,"%s\n",
(sizeof(testing) > sizeof(double)) ? "LDouble" :
@@
-179,6
+179,8
@@
AC_DEFUN([FP_READDIR_EOF_ERRNO],
[AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <dirent.h>
#include <stdio.h>
#include <errno.h>
[AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <dirent.h>
#include <stdio.h>
#include <errno.h>
+#include <sys/stat.h>
+
int
main(argc, argv)
int argc;
int
main(argc, argv)
int argc;