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]

How to let orginal header file & w32api header file compatible


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  English statement above.本信件內所含華邦電子的財產性機密性資訊, 僅授權原發信人指定之收信人取閱之用. 假使您並非被指定之收信人或因任何原因在未經授權的情形之下收到本信件, 請您告知原發信人並立即將信件從電腦與網路伺服器中予以消除. 對於您的合作, 我們先此致謝. 特此提醒, 任何未經授權擅自使用華邦電子的機密資訊的行為是被嚴格禁止的. 信件與華邦電子營業無關之內容,不得視為華邦電子之立場或意見.

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


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