On Thu, Dec 18, 2008 at 10:37 AM, David Fuentes <[email protected]> wrote:
>
> The other library i'm using is an image processing library ITK.
> I compile each library with it's own respective build system.
> I've seen problems at compile time and runtime.
>
> The interface code that uses both libmesh and ITK is giving me the problems.
> The compiler options used by libMesh in debug mode
>>>
>>> -ansi -pedantic -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC
>
> seem to conflict with ITK.
>
>
> works w/ intel compilers. So I just want to change the gcc compile
> options in libMesh debug mode.
>
>
>>> -ansi -pedantic -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC
>
> seem to be calling some special stl debugging libraries that are giving me
> problems.
I have a similar, though less severe, problem with the vtk_io.{C,h}
files. They include some vtk headers which in turn include deprecated
C++ library headers and the compiler always issues a warning about it.
What I'd like to do is modify the CXXFLAGS for that one file to add
-Wno-deprecated; what you'd like to do is modify CXXFLAGS for your
interface file to throw away the extra debugging stuff.
Maybe we could try adding a specialized version of the general rule:
#
# How to compile C++
#
%.$(obj-suffix) : %.C
@echo "Compiling C++ (in "$(mode)" mode) "$<"..."
@$(libmesh_CXX) $(libmesh_CXXFLAGS) $(libmesh_INCLUDE) -c $< -o $@
to Make.common, which matches the specific file in question? Not the
most elegant solution, and I'm not sure if it would even work but it's
all I thought of at the moment...
--
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