This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 16 byte pthread stack alignments


On Dec 21 15:25, Brian Ford wrote:
> On Wed, 21 Dec 2011, Brian Ford wrote:
> 
> > Still trying, but getting the following warning turned into an error by
> > -Werror which looks like it might be valid?
> >
> > cc1plus: warnings being treated as errors
> > src/winsup/cygwin/fhandler.cc:
> > In member function fhandler_base_overlapped::wait_return
> > fhandler_base_overlapped::wait_overlapped(bool, bool, DWORD*, bool,
> > DWORD):
> > src/winsup/cygwin/fhandler.cc:1912:
> > error: err may be used uninitialized in this function
> 
> Thanks for the fix Christopher, but I must be using the wrong compiler or
> something.  Here's my next issue:
> 
> src/winsup/cygwin/child_info.h:
> In static member function static cygheap_exec_info*
> cygheap_exec_info::alloc():
> src/winsup/cygwin/child_info.h:115:
> error: invalid use of member cygheap_exec_info::children in static member
> function
> src/winsup/cygwin/sigproc.cc:914:
> error: from this location

Did you try to drop the -Werror from the command line, for testing sake?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]