| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| Date: | Fri, 31 Oct 2008 00:28:17 +0700 |
| From: | bjoe <bayuadi DOT w AT gmail DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: problem compile with gcc |
| Message-ID: | <20081030172817.GA1628@komputer07> |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <01c101c935d0$7e34d0b0$9601a8c0 AT CAM DOT ARTIMI DOT COM> |
| Mime-Version: | 1.0 |
| In-Reply-To: | <01c101c935d0$7e34d0b0$9601a8c0@CAM.ARTIMI.COM> |
| User-Agent: | Mutt/1.4.2.2i |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
Dear Dave,
Thank to this quick answer, I finally able to resolve this problem by
including ntdef.h. But with your solution I can compile it in native
cygwin without -mno-cygwin.
Regards,
On Fri, Oct 24, 2008 at 01:03:14PM +0100, Dave Korn wrote:
> bjoe wrote on 24 October 2008 11:24:
>
> > #include <tchar.h>
> ^^^^^^^^^^^^^^^^^
> Remove this. It isn't supported on cygwin, although it is when doing a
> mingw cross-compile ('-mno-cygwin').
>
>
> > #include <security.h>
> ^^^^^^^^^^^^^^^^^^^^^
> Missing header dependency; needs "#include <ntsecapi.h>" before this line.
>
>
> cheers,
> DaveK
> --
> Can't think of a witty .sigline today....
>
--
It is easy to say no when
there is a deeper yes burning within
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |