> On Mar 11, 2015, at 11:43 AM, Roy Stogner <[email protected]> wrote:
> 
> 
> On Wed, 11 Mar 2015, Manav Bhatia wrote:
> 
>> I double checked, and I am using a C++ compiler to link. 
> 
>> Moreover, I ran make check in the examples director, and came across the 
>> same problem. 
> 
> If you want to drop the issue now that you've got a workaround, nobody
> will blame you.
> 

I am sorry, no workaround yet. I apparently misspoke. Still trying to get this 
to work. Trying to see if using a more recent compiler would do the trick. 

> If you're curious to investigate further, though...
> 
> 
> #include <iostream>
> 
> struct TestGlobal
> {
>    TestGlobal() { std::cout << "TestGlobal()" << std::endl; }
> };
> 
> TestGlobal test_global;
> 
> int main(void)
> {
>    std::cout << "main()" << std::endl;
>    return 0;
> }
> 
> 
> Does that properly construct the global first?  What if you move
> test_global into a separate file and link it in?
> ---
> Roy


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to