[Insight-developers] Eliminating warnings...

Hans Johnson hans-johnson at uiowa.edu
Wed Jan 31 15:38:12 EST 2007


David,

If I remember properly, the IRIX ³C² compiler has a ­c99 mode that is
supposed to make the c99 extensions (stdint.h) methods available.
Unfortunatly the C++ IRIX compiler does not respect the ­c99 flag (it takes
it without complaint, but when looking at the pre-processed code the c99
internal variables are not set).


=== well here is confirmation that memory is not completely flawed
http://www.mail-archive.com/autoconf@gnu.org/msg15257.html

I think that stdint.h is only included in the gdcm libraries, so perhaps it
is not needed or could be replaced with other code.

Hans


On 1/31/07 2:16 PM, "David Cole" <david.cole at kitware.com> wrote:

> What's the best way to get rid of these warnings?
> http://www.itk.org/Testing/Sites/kraepelin.uiowa/IRIX64-MPro-7.4-dbg/20070131-
> 0100-Nightly/BuildWarning.html
> <http://www.itk.org/Testing/Sites/kraepelin.uiowa/IRIX64-MPro-7.4-dbg/20070131
> -0100-Nightly/BuildWarning.html>
> 
> They occur because stdint.h is included by
> "Utilities/gdcm/src/gdcmCommon.h"... There is an existence check for stdint.h
> in "Utilities/gdcm/CMakeLists.txt".
> 
> There is also a duplicate (useless?) existence check in
> "Utilities/itktiff/CMakeLists.txt".
> 
> Anybody have a suggestion on the best course of action to eliminate the
> warnings on this platform? Should this header file be avoided for C++
> compiles?
> 
> 
> Thx,
> David
> 
> 
> 
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.itk.org/mailman/private/insight-developers/attachments/20070131/3de871c4/attachment.html


More information about the Insight-developers mailing list