On Sun, 13 Mar 2011, Boyce Griffith wrote:
I just updated to the latest svn HEAD, and I am now getting compiler
errors in my application code like:
/Users/griffith/sfw/libmesh/include/base/variant_filter_iterator.h:204:
error: ‘libmesh_cast_ptr’ was not declared in this scope
This makes some sense... I tried to use a utility from
libmesh_common.h, but I used it in a source file that didn't #include
"libmesh_common.h". The problem might have just been hidden in my
tests because libmesh_common.h was always getting pulled in from a
previously included header... except my tests specifically include a
"make test_headers" to find such situations, and that fails when I run
it by hand but succeeds in the BuildBot tests. Weird.
So the header is fixed now; the BuildBot header tests seem to be
giving false positives with icpc but I'll add a g++ run that should
catch future such problems.
These look like namespace issues --- if I change libmesh_cast_ptr to
libMesh::cast_ptr, everything works fine.
You mean libMesh::libmesh_cast_ptr, I assume?
---
Roy
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel