This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: second call to mmap() results in error
- From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr at ncbi dot nlm dot nih dot gov>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Thu, 30 Jan 2014 18:52:34 +0000
- Subject: RE: second call to mmap() results in error
- Authentication-results: sourceware.org; auth=none
- References: <20140129181250 dot GW2821 at calimero dot vinschen dot de> <52E95786 dot 8050606 at gmail dot com> <20140130095822 dot GY2821 at calimero dot vinschen dot de> <001801cf1db6$66c47c40$344d74c0$ at lbmsys dot com> <20140130124558 dot GA2821 at calimero dot vinschen dot de> <003801cf1dbd$fc3ffc70$f4bff550$ at lbmsys dot com> <20140130170142 dot GD2821 at calimero dot vinschen dot de> <5F8AAC04F9616747BC4CC0E803D5907D0C4763CC at MLBXv04 dot nih dot gov> <52EA9A53 dot 2050203 at cygwin dot com> <5F8AAC04F9616747BC4CC0E803D5907D0C4764C5 at MLBXv04 dot nih dot gov> <20140130183956 dot GA3573 at ednor dot casa dot cgf dot cx> <5F8AAC04F9616747BC4CC0E803D5907D0C4764ED at MLBXv04 dot nih dot gov> <52EA9EA2 dot 5030202 at cygwin dot com>
> 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