[Insight-developers] Problems with Style Check, preventing commit
Bradley Lowekamp
blowekamp at mail.nih.gov
Mon Dec 14 12:25:54 EST 2009
Hello,
I am trying to commit the file attached to this bug:
http://www.itk.org/Bug/view.php?id=9426
When I try to check in the file I get the following message:
Message: cvs [commit aborted]: correct above errors first!
Message: Committer: Bradley Lowekamp <blowekamp at mail.nih.gov>
Message: Committer: Bradley Lowekamp <blowekamp at mail.nih.gov>
Message: Running style check
Message: Running style check
Message: Processing itkMersenneTwisterRandomVariateGenerator.h
Message:
Message:
Message:
Message: Running style check
Message: Processing itkIntTypes.h
Message: Error #15 (83) Type definition (int8_t) doesn't match regular expression
Message: Error #15 (84) Type definition (uint8_t) doesn't match regular expression
Message: Error #15 (85) Type definition (int16_t) doesn't match regular expression
Message: Error #15 (86) Type definition (uint16_t) doesn't match regular expression
Message: Error #15 (87) Type definition (int32_t) doesn't match regular expression
Message: Error #15 (88) Type definition (uint32_t) doesn't match regular expression
Message: Error #15 (89) Type definition (int64_t) doesn't match regular expression
Message: Error #15 (90) Type definition (uint64_t) doesn't match regular expression
Message: Error #15 (95) Type definition (int_least8_t) doesn't match regular expression
Message: Error #15 (96) Type definition (uint_least8_t) doesn't match regular expression
Message: Error #15 (97) Type definition (int_least16_t) doesn't match regular expression
The typedefs look like:
typedef ::int8_t int8_t;
typedef ::uint8_t uint8_t;
typedef ::int16_t int16_t;
typedef ::uint16_t uint16_t;
typedef ::int32_t int32_t;
typedef ::uint32_t uint32_t;
typedef ::int64_t int64_t;
typedef ::uint64_t uint64_t;
I don't understand the error message or what to do to check in the code. Is this a KWStyle issue?
Thanks,
Brad
Note if some one does forceable try to check in the file then this one additional change to occur at the same time:
--- Code/Common/itkMersenneTwisterRandomVariateGenerator.h 8 Aug 2009 15:25:34 -0000 1.9
+++ Code/Common/itkMersenneTwisterRandomVariateGenerator.h 14 Dec 2009 17:14:25 -0000
@@ -111,7 +111,7 @@
typedef SmartPointer<Self> Pointer;
typedef SmartPointer<const Self> ConstPointer;
- typedef ITK_UINT32 IntegerType;
+ typedef uint32_t IntegerType;
/** Run-time type information (and related methods). */
itkTypeMacro(MersenneTwisterRandomVariateGenerator,
========================================================
Bradley Lowekamp
Lockheed Martin Contractor for
Office of High Performance Computing and Communications
National Library of Medicine
blowekamp at mail.nih.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20091214/027644d1/attachment.htm>
More information about the Insight-developers
mailing list