On 2013-03-11 03:20-0700 phil rosenberg wrote:

> Hi Alan and Arjen
> Cache file attached. It looks to me like the C flags are correct but not the 
> CXX flags. I'm not sure what the mechanism is for CMake selecting which to 
> use.

Hi Phil:

I cannot think of any reason to get the above result
(C flags processed, CXX flags not processed) with the
second version of my patch (which I have just now carefully
reviewed again).  However, the above result is
exactly what I would expect from the first version of my patch (which
incorrectly attempted to do all the flag manipulations before the C++
language was enabled and therefore before the original "MD" versions
of the CXX flags are created in the cache).

Therefore, could you double-check which of my patch versions you applied?
If the correct (second version) of the patch was applied, then the

option(STATIC_RUNTIME "Set Windows non-MinGW compiler static runtime
linkage if requested" OFF)

line should occur for the 485th line of the file.

If you have applied the correct version of the patch, and you still
get the bad cache file with changes only made to the C but not CXX
versions of the flags could you please output the flags with the
message command before and after the attempt to change them?

That is insert

message(STATUS "flag_var = ${flag_var}")

as the first and last commands inside the

foreach(flag_var ${flag_vars})
....
endforeach(flag_var ${flag_vars})

loop and send those results (captured as the output from the
cmake command) to the list as a compressed attachment?

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to