[Insight-developers] -Wlong-long with > gcc4.5
    Sean McBride 
    sean at rogue-research.com
       
    Thu Sep  1 13:16:56 EDT 2011
    
    
  
On Thu, 1 Sep 2011 12:09:58 -0400, Matt McCormick said:
>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?
My clang build is now also saying:
/Users/builder/kitware/ITK/Modules/Core/Common/include/itkIntTypes.h:122:71: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]
I don't remember that being there before...
-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada
    
    
More information about the Insight-developers
mailing list