quad_t: incompatible types in config.log:
David Rankin
drankin at bohemians.lexington.ky.us
Fri Dec 31 02:35:00 EST 1999
On Thu, Dec 30, 1999 at 11:24:10AM -0400, Marc G. Fournier wrote:
> configure:2050: checking for quad_t
> configure:2059: gcc -c -g -O2 -Wall -I/usr/slocal/include conftest.c 1>&5
> configure: In function `main':
> configure:2055: incompatible types in assignment
> configure: failed program was:
> #line 2052 "configure"
> #include "confdefs.h"
> #include <sys/types.h>
> int main() {
> quad_t a; a = 1235;
> ; return 0; }
Does this help anything? (I'd recommend using autoconf if at all possible,
but if you can't, try the configure patch.)
David
--- configure.in.orig Thu Dec 30 10:29:52 1999
+++ configure.in Thu Dec 30 10:30:29 1999
@@ -141,7 +141,7 @@
AC_MSG_CHECKING([for quad_t])
AC_TRY_COMPILE(
[#include <sys/types.h>],
- [quad_t a; a = 1235;],
+ [quad_t a; a = (quad_t) 1235;],
[
AC_DEFINE(HAVE_QUAD_T)
AC_MSG_RESULT(yes)
--- configure.orig Thu Dec 30 10:32:55 1999
+++ configure Thu Dec 30 09:20:47 1999
@@ -2052,7 +2052,7 @@
#include "confdefs.h"
#include <sys/types.h>
int main() {
-quad_t a; a = 1235;
+quad_t a; a = (quad_t) 1235;
; return 0; }
EOF
if { (eval echo configure:2059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
More information about the openssh-unix-dev
mailing list