OK, there might be some resistance to this, but...

I've been thinking about putting a little include file header safety into
libMesh.  Basically, right now all our header files have to have unique
names because their directories get added to the include path. Further, none
of these can have the same names as any header files in user code.

This could easily be fixed by not specifying the the include/...
subdirectories to the compiler, so

#include "dof_map.h"

becomes

#include "base/dof_map.h"

or maybe even better

#include "libmesh/base/dof_map.h"

We could even keep the old functionality through a configure option, which
we set to suppress adding the extra paths.  On trunk we set this option to
suppress the extra paths but could turn it on for a release or two...

-Ben


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to