MantisBT - ITK
View Issue Details
0010093ITKpublic2010-01-05 11:122010-11-13 12:55
pingkunyan 
Mathieu Malaterre 
normalmajorhave not tried
closedfixed 
 
ITK-4-A3 
backlog
0010093: Changes in "itkIntTypes.h" conflict with "gdcmCommon.h"
Some recent changes in "itkIntTypes.h" added new type definitions. Previously, my program was able to successfully build under Windows using MSVS2008. However, after updating to the latest version, the program is no longer built. I got the following error:

1>C:\OpenSourceToolkits\Insight\Utilities\gdcm\src\gdcmSerieHelper.h(109) : error C2872: 'uint16_t' : ambiguous symbol
1> could be 'c:\opensourcetoolkits\insight\utilities\gdcm\src\gdcmCommon.h(65) : unsigned short uint16_t'
1> or 'c:\opensourcetoolkits\insight\code\common\itkIntTypes.h(128) : itk::uint16_t'

I checked the files and the conflit is there. Please fix it.
No tags attached.
child of 0009426closed Bradley Lowekamp ITK_UINT64 and vxl_uint_64 are not a 64bit integer on windows 
Issue History
2010-01-05 11:12pingkunyanNew Issue
2010-01-05 17:25Bradley LowekampNote Added: 0019038
2010-01-07 10:11pingkunyanNote Added: 0019047
2010-01-15 09:38Bradley LowekampRelationship addedchild of 0009426
2010-01-15 09:42Bradley LowekampNote Added: 0019149
2010-10-26 05:51Mathieu MalaterreStatusnew => assigned
2010-10-26 05:51Mathieu MalaterreAssigned To => Mathieu Malaterre
2010-10-26 05:51Mathieu MalaterreSprint Status => backlog
2010-10-26 05:51Mathieu MalaterreNote Added: 0022702
2010-10-26 05:51Mathieu MalaterreStatusassigned => closed
2010-10-26 05:51Mathieu MalaterreResolutionopen => fixed
2010-11-13 12:55Mathieu MalaterreStatusclosed => feedback
2010-11-13 12:55Mathieu MalaterreResolutionfixed => reopened
2010-11-13 12:55Mathieu MalaterreStatusfeedback => closed
2010-11-13 12:55Mathieu MalaterreResolutionreopened => fixed
2010-11-13 12:55Mathieu MalaterreFixed in Version => ITK-4-A3

Notes
(0019038)
Bradley Lowekamp   
2010-01-05 17:25   
Are you dumping the entire itk namespace into the global namespace? Such as doing the following:

using namespace itk;
(0019047)
pingkunyan   
2010-01-07 10:11   
I didn't use it in my main program. But in my own class files, I did put everything under itk namespace, like a normal itk class. Maybe that is causing the problem...
(0019149)
Bradley Lowekamp   
2010-01-15 09:42   
Can you please provide a small test sample where this conflict occurs?

Thanks!
(0022702)
Mathieu Malaterre   
2010-10-26 05:51   
ITK uses GDCM 2.x the issue should be gone now.