On Sun, Dec 8, 2013 at 3:38 PM, Roy Stogner <royst...@ices.utexas.edu> wrote:
>
> Two questions:
>
> I've mostly been using -Wconversion privately to catch the occasional
> 32<->64 bit conversion bug... but I just graded the work of a student
> whose results got destroyed by an inadvertent implicit "double->int",
> and now I'm paranoid about my own codes.  Would anyone mind me adding
> "-Wconversion" to the default libMesh warnings, even if we're not yet
> 100% clean in library code?

OK with me.  I didn't test intel compilers, but clang supports
-Wconversion in addition to gcc.

-- 
John

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to