Re: [Plib-devel] patch for compiling on Solaris 10
Brought to you by:
sjbaker
From: Fay J. F Dr C. U. AFSEO/SK <joh...@eg...> - 2006-12-15 17:52:16
|
Vikas, I have a Windows box and it does not have "sys/socket.h" at all. I do not have Cygwin and so have not been able to check that. Of note, Windows does not define "socklen_t" at all. I think out best bet would be to make the "-Wall" flag system-dependent. It is necessary on some systems and creates an error on other systems, so the most logical step would (in my mind) be to make it system-dependent. Do please look into how we do this. John F. Fay Technical Fellow Jacobs/Sverdrup TEAS Group 850-883-1294 -----Original Message----- From: pli...@li... [mailto:pli...@li...] On Behalf Of Vikas N Kumar Sent: Friday, December 15, 2006 9:46 AM To: PLIB Developers Subject: Re: [Plib-devel] patch for compiling on Solaris 10 Hi John, my comments below. On 12/14/06, Fay John F Dr CTR USAF AFSEO/SK <joh...@eg...> wrote: > It appears from the message below that the "configure" test for > "socklen_t" fails on Sun Studio 11 compilers because they do not support > "-Wall". I see three options: > > (1) Drop the "-Wall" flag. I do not like this option because I like the > compiler to warn me when things are iffy. Actually John, the "-Wall" flag is required for the GNU compilers to show all the warnings. The Sun Studio 11 compilers show all the warnings by default, and the "-Wall" flag is not accepted. Hence, you might just need to keep the "-Wall" flag for GNU compilers. > > (2) Quit checking for "socklen_t" in the "configure" step. Vijay Kumar, > who flagged the error, supports this option. The reasoning is that > "socklen_t" is pretty much universal by now. I am not sure about Windows & *BSDs in this regard. socklen_t is present in Linux and Solaris for sure. If someone has a *BSD or Windows and can check for the presence of socklen_t in " netinet/in.h" and "sys/socket.h" then we can remove it from the configure.in script. Is plib supported on IRIX too ? I have an IRIX 6.2 system at home but I am not sure what version of IRIX you currently support. I can check there for socklen_t. > > (3) Make the "-Wall" flag system-dependent and don't use it Sun Studio 11 > compilers. Is such a thing possible? yes this should be possible. If you want I can look into doing this. Regards, Vikas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ plib-devel mailing list pli...@li... https://lists.sourceforge.net/lists/listinfo/plib-devel |