[Insight-developers] -Wlong-long with > gcc4.5
Johnson, Hans J
hans-johnson at uiowa.edu
Thu Sep 1 12:17:37 EDT 2011
I believe that the correct thing to do is to remove "long long". That is
ambiguous and difficult to get correct on many compilers. It should be
one of the ITK typedefs from itkIntTypes.h if at all possible.
Hans
--
Hans J. Johnson, Ph.D.
hans-johnson at uiowa.edu
Assistant Professor of Psychiatry
University of Iowa Carver College of Medicine
W278 GH, 200 Hawkins Drive
Iowa City, Iowa 52242
Phone: 319-353-8587
-----Original Message-----
From: Matt McCormick <matt.mccormick at kitware.com>
Date: Thu, 1 Sep 2011 12:09:58 -0400
To: ITK <insight-developers at itk.org>
Cc: Hans Johnson <hans-johnson at uiowa.edu>, Arnaud Gelas
<arnaudgelas at gmail.com>
Subject: [Insight-developers] -Wlong-long with > gcc4.5
Hi,
With the new warning patch, -Wlong-long flag is causing many warnings
with GCC 4.6:
.../ITK/Modules/Core/Common/src/itkNumericTraits.cxx:70:71: warning:
use of C++0x long long integer constant [-Wlong-long]
What is the right thing to do here? Disable the warning
(-Wno-long-long)? Remove the long long?
Matt
_______________________________________________
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