[Insight-developers] trying to fix mac warnings

Mark Roden mmroden at gmail.com
Wed Feb 23 13:13:39 EST 2011


So put those flags in CMAKE_CXX_FLAGS in CMake?

The build is debug, which means the only cxx flag is -g.

On Wed, Feb 23, 2011 at 10:11 AM, Johnson, Hans J
<hans-johnson at uiowa.edu> wrote:
> Are you using the compiler flags:  "-O3 -Wall -Wno-parentheses" to do a
> more complete code analysis give better error warnings?
>
>
> That is likely the problem.
>
> Hans
>
> -----Original Message-----
> From: Mark Roden <mmroden at gmail.com>
> Date: Wed, 23 Feb 2011 10:04:36 -0800
> To: ITK <insight-developers at itk.org>
> Subject: [Insight-developers] trying to fix mac warnings
>
> Hi all,
>
> I'm looking in to the gdcm warnings shown here:
>
> http://www.cdash.org/CDash/viewBuildError.php?type=1&buildid=874230
>
> Problem is, I can't replicate the warnings when building with either
> unix makefiles or in xcode.
>
> The warnings I'm seeing are more along these lines:
>
> /usr/bin/ranlib: file:
> ../../bin/libitkvnl_inst.a(vnl_c_vector+longlong-.cxx.o) has no
> symbols
> /usr/bin/ranlib: file:
> ../../bin/libitkvnl_inst.a(vnl_c_vector+ulonglong-.cxx.o) has no
> symbols
> /usr/bin/ranlib: file:
> ../../bin/libitkvnl_inst.a(vnl_matrix+longlong-.cxx.o) has no symbols
> /usr/bin/ranlib: file:
> ../../bin/libitkvnl_inst.a(vnl_matrix+ulonglong-.cxx.o) has no symbols
> /usr/bin/ranlib: file:
> ../../bin/libitkvnl_inst.a(vnl_vector+longlong-.cxx.o) has no symbols
> /usr/bin/ranlib: file:
> ../../bin/libitkvnl_inst.a(vnl_vector+ulonglong-.cxx.o) has no symbols
>
> which don't show up on that list of compiler warnings.
>
> Can someone with more mac development experience point me to a way to
> replicate the warnings?
>
> Thanks,
> Mark
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>
>
>
> ________________________________
> Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited.  Please reply to the sender that you have received the message in error, then delete it.  Thank you.
> ________________________________
>


More information about the Insight-developers mailing list