X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; q=dns; s=default; b=H1V5QlPIE6bNjPkiCP4KS+iYgFuQL
	+WcZRYIGCHH/kJE0KbPRyb6791Mp/iPmyO3jRaOcwQY7KEKRm6bBoVqTw4ij0C8a
	u5M8uqTIDU/DMFDmtAHjSgt+I/4a1X7L39bt+kdeuoT1NzhQ5Oq6PQVQmbhgCAkf
	vazkPGrwDl2Ulw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; s=default; bh=Im6ILuSRBJMRfmTuH1EZco3ls1U=; b=Iv1
	xj4i88kjzbgVm2agg8bzFqjvCrRZAQu2xDoGDtrIdQbjCz+92v6fuxcZwblbOna/
	iBFNsPPOifpEGqB/Ait2N7cf9n/KerR7dk9kLtS/8IYT6bFEetfUeiC4g8TeIPu3
	0Z1F5aXpDNDW98N0dyx5j8t7du2gZLUKiAeU7WJE=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: nihxway6out.hub.nih.gov
X-IronPortListener: Outbound_SMTP
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AicFAJOe6lKcKEey/2dsb2JhbABZgwyBD70kgQwWdIIlAQEBAwESKEQLAgEIDRUUEB8TJQIEGxqHWwihOKp2F45ROIMkgRQEjmOQNYsvgy2CKg
From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: second call to mmap() results in error
Date: Thu, 30 Jan 2014 18:52:34 +0000
Message-ID: <5F8AAC04F9616747BC4CC0E803D5907D0C476528@MLBXv04.nih.gov>
References: <20140129181250.GW2821@calimero.vinschen.de> <52E95786.8050606@gmail.com> <20140130095822.GY2821@calimero.vinschen.de> <001801cf1db6$66c47c40$344d74c0$@lbmsys.com> <20140130124558.GA2821@calimero.vinschen.de> <003801cf1dbd$fc3ffc70$f4bff550$@lbmsys.com> <20140130170142.GD2821@calimero.vinschen.de> <5F8AAC04F9616747BC4CC0E803D5907D0C4763CC@MLBXv04.nih.gov> <52EA9A53.2050203@cygwin.com> <5F8AAC04F9616747BC4CC0E803D5907D0C4764C5@MLBXv04.nih.gov> <20140130183956.GA3573@ednor.casa.cgf.cx> <5F8AAC04F9616747BC4CC0E803D5907D0C4764ED@MLBXv04.nih.gov> <52EA9EA2.5030202@cygwin.com>
In-Reply-To: <52EA9EA2.5030202@cygwin.com>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s0UIqlLa022806

> Try adding -Wall to your compile line.

I did.  There was no warning (and it should not have because
#include <sys/mman.h> is there).  Why <unistd.h> ?  It's not
needed to compile and run the original code.

Anton Lavrentiev
Contractor NIH/NLM/NCBI


--
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


