acl_perm_t not declared error while compiling cygwin
Corinna Vinschen
corinna-cygwin@cygwin.com
Thu Jan 7 12:44:00 GMT 2016
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20160107/9ea57166/attachment.sig>
More information about the Cygwin
mailing list