NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/43320: fails on Cygwin 1.7.2

The following reply was made to PR toolchain/43320; it has been noted by GNATS.

From: Izumi Tsutsui <>
Subject: Re: toolchain/43320: fails on Cygwin 1.7.2
Date: Mon, 27 Sep 2010 01:18:50 +0900

 > > gcc4 gcc4-4.3.4-3.tar.bz2 0
 > > gcc4-core gcc4-core-4.3.4-3.tar.bz2 0
 > > gcc4-g++ gcc4-g++-4.3.4-3.tar.bz2 0
 > Hmm, probably host's gcc4 problem?
 > I'm always using gcc-3.4.4 on Cygwin. (it's enough for
 > I'll check how both versions work on Cygwin-1.7.7.
 I've confirmed "error: two or more data types in declaration specifiers"
 in src/tools/rpcgen occurs only when Cygwin is setup to use gcc-4.3.4.
 It doesn't happen with gcc-3.4.4. (gcc3 doesn't check it?)
 Probably it's enough to include <rpc/types.h> in u_quad_t check
 if we can assume u_quad_t is historically used only around rpc sources?
 RCS file: /cvsroot/src/tools/compat/,v
 retrieving revision 1.71
 diff -u -p -r1.71
 ---       15 Jan 2010 11:26:25 -0000      1.71
 +++       26 Sep 2010 16:08:55 -0000
 @@ -95,7 +95,13 @@ AC_CHECK_HEADERS(rpc/types.h netconfig.h
  # Typedefs.
 -AC_CHECK_TYPES([id_t, long long, u_long, u_char, u_short, u_int, u_quad_t])
 +AC_CHECK_TYPES([id_t, long long, u_long, u_char, u_short, u_int])
 +                        [Define if you have the u_quad_t type.])],,
 +[#ifdef HAVE_RPC_TYPES_H
 +#include <rpc/types.h>
                          [Define if you have the socklen_t type.])],,
  [#include <sys/types.h>
 Izumi Tsutsui

Home | Main Index | Thread Index | Old Index