[Insight-developers] Eliminating warnings...
Hans Johnson
hans-johnson at uiowa.edu
Wed Jan 31 15:42:13 EST 2007
Sorry for the premature send on the last message
<<message continued>>
=========================
%head /usr/include/stdint.h
#ifndef __STDINT_H__
#define __STDINT_H__
#ifndef __c99
#error This header file is to be used only for c99 mode compilations
#else
/*
* inttypes.h and types.h also defines these.
* Avoid compiler errors if either inttypes.h
* or types.h is also included.
*/
#ifndef __inttypes_INCLUDED
#define __inttypes_INCLUDED
=========================
Perhaps inttypes.h would have all the necessary definitions needed by gdcm.
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/be18198a/attachment.htm
More information about the Insight-developers
mailing list