On May 15, 2008, at 2:14 PM, K. Noel Belcourt wrote:
Hi Rich,
On May 14, 2008, at 6:35 PM, Rich Cook wrote:
I have a need to try to compile boost_1_35_0 using xlC. I am getting the following error from my attempt, and I cannot find anything on google about it. Is there an environment variable or compiler flag I ought to be using with boost?
Optional in 1.35 seems to work okay for me with xlC version 8.0. Here's the code I tested.
xlC -g test.C -I/sierra/Release/Boost/1.35.0 "test.C", line 11.12: 1540-1102 (W) "p" might be used before it is set.
So it doesn't appear that any macros or compile options need to be set for this to compile.
Thank you for mentioning the version. It appears that our xlC was by default 7.0, but we have 8.0 as well and it worked perfectly as you said. Thanks! -- ✐Richard Cook ✇ Lawrence Livermore National Laboratory Bldg-453 Rm-4037, Mail Stop L-557 7000 East Avenue, Livermore, CA, 94550, USA ☎ (office) (925) 423-9605 ☎ (fax) (925) 423-6961 --- Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept. (opinions expressed herein are mine and not those of LLNL)