This addresses the platform-dependent issue introduced in r432 in which one static variable referenced another. The order in which they're initialized is not consistent among compilers.  My compiler/linker on OSX was trying to initialize InputXML::main_schema_ before Env::path_from_cwd_to_cyclus_ .
This addresses the platform-dependent issue introduced in r432 in which one static variable referenced another. The order in which they're initialized is not consistent among compilers.  My compiler/linker on OSX was trying to initialize InputXML::main_schema_ before Env::path_from_cwd_to_cyclus_ .

Here's a stack overflow discussion link, for the curious:

http://stackoverflow.com/questions/211237/c-static-variables-initialisation-order

In any case, with this sleuthing, Robert was able to make the simple suggestion that the default main_schema_ variable not rely on the path_from_cwd_to_cyclus_ will be portable accross platforms. That solution is implemented here.




mbmcgarry/cyclus,gidden/cyclus,hodger/cyclus,Baaaaam/cyclus,Baaaaam/cyclus,mbmcgarry/cyclus,rwcarlsen/cyclus,hodger/cyclus,Baaaaam/cyclus,hodger/cyclus,gidden/cyclus,hodger/cyclus,rwcarlsen/cyclus,hodger/cyclus,gidden/cyclus,gidden/cyclus,rwcarlsen/cyclus,rwcarlsen/cyclus,mbmcgarry/cyclus,mbmcgarry/cyclus