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 20:12:08
|
Vikas, OK, I have put it into SVN. Please check that I have done it correctly. 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 1:55 PM To: PLIB Developers Subject: Re: [Plib-devel] patch for compiling on Solaris 10 Hi John, Below is the patch for setting the "-Wall" flag to null if the compiler is not GCC. It works, for both Linux and Solaris. Regards, Vikas Index: configure.in =================================================================== --- configure.in (revision 2112) +++ configure.in (working copy) @@ -346,6 +346,10 @@ if test "x$CXX" = "xicpc" || test "x$CXX" = "xicc"; then WFLAG="-w1" fi + if test "x$GCC" != xyes; then + # if the compiler is not GCC we reset WFLAG to null for safety + WFLAG="" + fi ;; esac ------------------------------------------------------------------------- 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 |