Under VC 2008 I get the following warnings when setting the warning level to 4 (highest):
1.
c:\dcmtk-3.5.5-win32-i386\include\dcmtk\dcmdata\dcobject.h(652) : warning C4512: 'DcmObject::PrintHelper' : assignment operator could not be generated
c:\dcmtk-3.5.5-win32-i386\include\dcmtk\dcmdata\dcobject.h(638) : see declaration of 'DcmObject::PrintHelper'
2.
c:\dcmtk-3.5.5-win32-i386\include\dcmtk\dcmimgle\diovpln.h(232) : warning C4244: '=' : conversion from 'const int' to 'Sint16', possible loss of data
c:\dcmtk-3.5.5-win32-i386\include\dcmtk\dcmimgle\diovpln.h(232) : warning C4244: '=' : conversion from 'const int' to 'Sint16', possible loss of data
I got the warnings compiling the snapshot from 2010-06-10 und Visual Studio 2008 (not the 'Express' version if it matters).
Regards, Yves
Compiler warnings under VC 2008
Moderator: Moderator Team
-
- Posts: 30
- Joined: Fri, 2005-12-02, 17:06
- Location: Germany
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
Thank you for reporting this. The second issue has just been fixed. I'll forward the first one to the original author ...
-
- DCMTK Developer
- Posts: 120
- Joined: Thu, 2009-11-26, 08:15
Who is online
Users browsing this forum: No registered users and 1 guest