This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: grap, anybody?
- From: Fergus Daly <fergusd84 at outlook dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Cc: Fergus Daly <fergusd84 at outlook dot com>
- Date: Tue, 7 Jan 2020 17:35:57 +0000
- Subject: Re: grap, anybody?
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/z7qK0yZvUphRjPOAac2wB3AE12XVu4+cWjHmavx91c=; b=hzsyCuLEuXPSAt4xJ/IHIptWpI549o74z2psjFbLSm+YGZrDWyFhhjVhklBbIOg0PqAu3Hx6ffxLAFbpTboNYnQwMis3XFVh9VgENYKXUTre0NAjceMWin/rvOuwsWs+V4K+LU972F7c2d8ZPry8E7eAL9DUD+ChJ+m3c3UY/qZYwaVtDuRwbg6E9XQItMkkGoDwig2WTIlJrMp66Il6VhBI7EuYzvOo5rLDUNc3wLrykpViK+enfmwNGOiGzOASGouunECPV/vFmmCGoLQaFogVsMkWkPC39bpR/uHFw2rkR3E2AIflLtFf5hWK+XsUVWsvJm+UqVATjBFmK5I4Aw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OcGxRO/bniXYyv38PXa06WFV2FK43sVL3NVg+s6eZp9O8XIaNyHrCRMLVPN6Z7r6rI7ynNBAIZr3zsxgAQ/bDjTMjny5NrxPKyYKMfhv3MfDBi8uAH1O0kFcxhj/8h6rwiwo/8oejtL/vygjn0D6dpKpbfQ1RdjXuDavdEBO9YUv5Q+us5dViostsYO/s+GGbouCdXvInSrZGsIXEVlaAXD5vxVHiwcP256UP6FLAlDhPAK53c9echX6mLlcF52GY4rQilWUw6X6i1p7Yxq5boHEhk70Cy8o7fNKpiTMmDaIwaeAuUtTk0T5D4dDF+ZZf2cqmpr3C5lQ8U/QGQ/U2Q==
>> Try following patch.
--- configure.ac.orig 2014-08-31 00:33:45.000000000 +0900
+++ configure.ac 2020-01-07 08:43:59.559103700 +0900
@@ -45,10 +45,10 @@
AC_MSG_CHECKING(if ${CXX} supports -std=c++0x)
old_cxxflags="$CXXFLAGS"
old_cppflags="$CPPFLAGS"
-CXXFLAGS="$CXXFLAGS -std=c++0x"
-CPPFLAGS="$CPPFLAGS -std=c++0x"
+CXXFLAGS="$CXXFLAGS -D_XOPEN_SOURCE=700"
+CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=700"
AC_TRY_COMPILE([], [], [
- CX0FLAGS="-std=c++0x"
+ CX0FLAGS=""
AC_MSG_RESULT(yes)
], [
CX0FLAGS=""
Thank you! This patch enabled compilation of the grap-1.45 executable for 32-bit and 64-bit Cygwin respectively.
Fergus
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple