delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: struct passwd problem : running on XP |
Date: | Tue, 16 Jan 2007 13:04:20 -0000 |
Message-ID: | <035201c7396e$d62f2c30$a501a8c0@CAM.ARTIMI.COM> |
MIME-Version: | 1.0 |
X-Mailer: | Microsoft Office Outlook 11 |
In-Reply-To: | <loom.20070116T135216-866@post.gmane.org> |
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 |
On 16 January 2007 12:53, DEMARCHE wrote: > Thank you all for your help and support. > > To Corinna : > well, my program was designed for being compiled even on Unix and Windows > platform. > As far as I understand, /etc/passwd file may be designed differently > depending on the system. On windows, "differently" means "non-existent". > To Dave : > Yes, the use of mno-cygwin option seems to call a bad uid_t definition > found on mingw/sys/types.h file. > Is there a way to call another types.h file without modifying pwd.h header ? No, there is not, and that is because the pwd.h header does not go with mingw. It is for cygwin only. Mingw does not provide pwd.h. > Which definition of uid_t is correct ? None. Mingw does not support uid_t. Mingw does not implement getpwent. You cannot do any of this stuff with mingw. (PS. This is not a mingw mailing list. Mingw programming questions should go to the mingw mailing list. When you use -mno-cygwin to compile, you are using mingw, not cygwin.) cheers, DaveK -- Can't think of a witty .sigline today.... -- 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 |