delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/21/00:42:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: How to let orginal header file & w32api header file compatible
Date: Wed, 21 Apr 2004 12:42:07 +0800
Message-ID: <3EC9020EA4B7FB43A5A5ACDD8BEE4E158EB3D7@wehcml17.winbond.com.tw>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "PC51 CYLiang" <CYLiang AT winbond DOT com DOT tw>
To: <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 21 Apr 2004 04:42:07.0890 (UTC) FILETIME=[009B4720:01C4275B]
X-IsSubscribed: yes
Note-from-DJ: This may be spam
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i3L4ghfc000869

Hi, 
	I installed cygwin_nt-5.0 , gcc version 3.3.1, and also installed win32api & mingw lib on win2000 env.
	I met the complier error  cause some function or type re-defined in another header file.
	I can't get the proper answer from FAQ, please kindly tell me how to solve the compatible issue.
	
	Error message as below:
	----------------------------------------------------------------
	/usr/include/w32api/winsock2.h:95:2: warning: #warning "fd_set and associated ma
	cros have been defined in sys/types.      This may cause runtime problems with W32 sockets"
	../../src/jar_support.c: In function `ensure_tmpdir_exists':
	../../src/jar_support.c:138: error: too few arguments to function `mkdir'
	../../src/jar_support.c: In function `ReadFromZip':
	../../src/jar_support.c:775: warning: implicit declaration of function `write'	
	---------------------------------------------------------------
	I found mkdir function defined in /usr/include/sys/stat.h"int _EXEFUN( mkdir,(const, mode_t));" & in /usr/include/mingw/io.h "int mkdir(const);" was defined.
	
	Please kindly tell me how to solve the compatible issue.

Best Regards
Chris

===========================================================================================The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original author of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such person, please kindly reply the sender indicating accordingly and delete all copies of it from your computer and network server immediately. We thank you for your cooperation. It is advisable that any unauthorized use of confidential information of Winbond is strictly prohibited; and any information in this email that does not relate to the official business of Winbond shall be deemed as neither given nor endorsed by Winbond.===========================================================================================If your computer is unable to decode Chinese font, please ignore the following message. They essentially repeat the&nbsp; English statement above.¥»«H¥ó¤º©Ò§tµØ¨¹¹q¤lªº°]²£©Ê¾÷±K©Ê¸ê°T, ¶È±ÂÅv­ìµo«H¤H«ü©w¤§¦¬«H¤H¨ú¾\¤§¥Î. °²¨Ï±z¨Ã«D³Q«ü©w¤§¦¬«H¤H©Î¦]¥ô¦ó­ì¦]¦b¥¼¸g±ÂÅvªº±¡§Î¤§¤U¦¬¨ì¥»«H¥ó, ½Ð±z§iª¾­ìµo«H¤H¨Ã¥ß§Y±N«H¥ó±q¹q¸£»Pºô¸ô¦øªA¾¹¤¤¤©¥H®ø°£. ¹ï©ó±zªº¦X§@, §Ú­Ì¥ý¦¹­PÁÂ. ¯S¦¹´£¿ô, ¥ô¦ó¥¼¸g±ÂÅv¾Õ¦Û¨Ï¥ÎµØ¨¹¹q¤lªº¾÷±K¸ê°Tªº¦æ¬°¬O³QÄY®æ¸T¤îªº. «H¥ó»PµØ¨¹¹q¤lÀç·~µLÃö¤§¤º®e,¤£±oµø¬°µØ¨¹¹q¤l¤§¥ß³õ©Î·N¨£.

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019