Re: [Plib-devel] patch for compiling on Solaris 10
Brought to you by:
sjbaker
From: Vikas N K. <vik...@us...> - 2006-12-15 15:45:39
|
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 |