On Thu, Dec 18, 2008 at 12:58 PM, David Fuentes <[email protected]> wrote: > > good deal. thanks john, > > works now. easiest to just modify the flags in Make.common > post-configure/pre-build > > > hopefully, I'm not loosing too much w/o the > >>>>> -ansi -pedantic -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC
Well, if you get tired of modifying the libmesh_CXXFLAGS variable after each configure step, you can in fact add a special rule for your source file like I described. I tested this out with the vtk_io.C file I mentioned*. In the SVN head version of the libmesh Makefile, there is now a rule at the bottom specific to this one file. You could do similarly for your source file, I would recommend using the $(filter-out -ansi -pedantic -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC, $(libmesh_CXXFLAGS)) command in make. * This isn't really a great fix, but it's meant to be temporary until VTK gets their headers up-to-date. It should work for intel and GCC compilers, I'm not sure about others... -- John ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
