On Wed, May 7, 2014 at 1:58 PM, Michael Povolotskyi <mpovo...@purdue.edu>wrote:

> Dear Libmesh developers,
> I see that the header files of libmesh include the following statements:
> using namespace libMesh;
>

Only if you configure with --enable-legacy-using-namespace:

#ifndef LIBMESH_REQUIRE_SEPARATE_NAMESPACE
using namespace libMesh;
#endif

This should not be on by default any more.



>
> This statement causes conflicts between the symbols defined in the
> libMesh namespace and my own classes.
>


> Is it possible to avoid "using" in the header files?
>

If you are using a recent version of libmesh, you shouldn't have to do
anything...

-- 
John
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to