From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: acl_perm_t not declared error while compiling cygwin
Date: Thu, 07 Jan 2016 12:44:00 -0000 [thread overview]
Message-ID: <20160107124409.GA20447@calimero.vinschen.de> (raw)
In-Reply-To: <CALiPeu=91W+kWfwdxCzFj7OR6WLZwwWZvPJFA8-t_7A27StCNQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1199 bytes --]
On Jan 7 10:52, David Lee wrote:
> Hi all,
>
> while trying to compile cygwin from git master I got this error. Any
> suggestions are appreciated.
>
> ------------------------------------------
>
> c++wrap -O2 -g -fno-rtti -fno-exceptions -fno-use-cxa-atexit -Wall
> -Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin
> -fmessage-length=0 -MMD -Werror -fmerge-constants -ftracer -c -o
> sec_acl.o /home/dave/newlib-cygwin/winsup/cygwin/sec_acl.cc
>
> /home/dave/newlib-cygwin/winsup/cygwin/sec_acl.cc: In function ‘void
> __aclcalcmask(aclent_t*, int)’:
> /home/dave/newlib-cygwin/winsup/cygwin/sec_acl.cc:1301:3: error:
> ‘acl_perm_t’ was not declared in this scope
> acl_perm_t mask = 0;
> ^
I screwed this up. This change was part of a pet project to add POSIX
ACL functions to Cygwin and I forgot to change acl_perm_t to mode_t
before applying the change. In fact, mode_t is the right type anyway
and using acl_perm_t here was wrong to begin with. Fix in the repo.
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2016-01-07 12:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-07 2:52 David Lee
2016-01-07 12:44 ` Corinna Vinschen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160107124409.GA20447@calimero.vinschen.de \
--to=corinna-cygwin@cygwin.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).