On Fri, Dec 21, 2012 at 11:22 AM, Kirk, Benjamin (JSC-EG311) <benjamin.kirk-1@nasa.gov> wrote:

Maybe, but it sure pisses off Oracle's CC, at least:

"src/mesh/nemesis_io_helper.C", line 455: Warning: num_proc hides libMesh::Nemesis_IO_Helper::num_proc.
"src/mesh/nemesis_io_helper.C", line 456: Warning: num_proc_in_file hides libMesh::Nemesis_IO_Helper::num_proc_in_file.
"src/mesh/nemesis_io_helper.C", line 457: Warning: ftype hides libMesh::Nemesis_IO_Helper::ftype.
"src/mesh/nemesis_io_helper.C", line 471: Warning: num_nodes_global hides libMesh::Nemesis_IO_Helper::num_nodes_global.

I'm glad *some* compiler is doing it! I'm slowly remembering the context where I did this (and it wasn't 2 years ago... more like this summer... *sigh*) - when we did the FE refactoring for vector elements I'd goofed and had some duplicate data structures in FEAbstract and FEGenericBase and never got a warning from either gcc or intel nor could I find an option that tripped the warning.