[Audacity-devel] Warnings from recent check-ins
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: James C. <cr...@in...> - 2008-06-23 20:54:29
|
These are some compiler warnings from MSVC resulting from recent check ins from other platforms. I resisted the temptation to fix them myself. In one or two cases they are actually a sign of (mild) problems, and I think it better that the relevant person review/fix them themselves and check their adjusted code into CVS. No urgency on these. It's just housekeeping. signed/unsigned mismatch is usually best fixed with an (int) cast, after inspection shows it's not a problem. --James. 20>c:\sourceforge\audacity\src\waveclip.h(223) : warning C4251: 'WaveClip::mWaveCacheMutex' : class 'ODLock' needs to have dll-interface to be used by clients of class 'WaveClip' 20> c:\sourceforge\audacity\src\ondemand\odtaskthread.h(124) : see declaration of 'ODLock' 20>Compiling... 20>c:\sourceforge\audacity\src\ondemand\odwavetracktaskqueue.cpp(32) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\ondemand\odwavetracktaskqueue.cpp(46) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\ondemand\odwavetracktaskqueue.cpp(83) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\ondemand\odwavetracktaskqueue.cpp(98) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\ondemand\odwavetracktaskqueue.cpp(112) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\ondemand\odtaskthread.cpp(48) : warning C4305: 'argument' : truncation from 'double' to 'float' 20>ODTask.cpp 20>c:\sourceforge\audacity\src\ondemand\odtask.cpp(28) : warning C4273: 'wxEVT_ODTASK_COMPLETE' : inconsistent dll linkage 20> c:\sourceforge\audacity\src\ondemand\odtask.cpp(27) : see previous definition of 'wxEVT_ODTASK_COMPLETE' 20>ODManager.cpp 20>c:\sourceforge\audacity\src\ondemand\odmanager.cpp(24) : warning C4273: 'wxEVT_ODTASK_UPDATE' : inconsistent dll linkage 20> c:\sourceforge\audacity\src\ondemand\odmanager.cpp(23) : see previous definition of 'wxEVT_ODTASK_UPDATE' 20>c:\sourceforge\audacity\src\ondemand\odmanager.cpp(43) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\ondemand\odmanager.cpp(60) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\ondemand\odmanager.cpp(238) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\ondemand\odmanager.cpp(267) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\ondemand\odmanager.cpp(279) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\ondemand\odcomputesummarytask.cpp(160) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\ondemand\odcomputesummarytask.cpp(165) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\ondemand\odcomputesummarytask.cpp(173) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\blockfile\odpcmaliasblockfile.cpp(94) : warning C4305: '=' : truncation from 'double' to 'float' 20>c:\sourceforge\audacity\src\blockfile\odpcmaliasblockfile.cpp(111) : warning C4305: '=' : truncation from 'double' to 'float' 20>c:\sourceforge\audacity\src\export\exportmultiple.cpp(200) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\export\exportmultiple.cpp(223) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\export\exportmultiple.cpp(389) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\export\exportmultiple.cpp(487) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\export\export.cpp(205) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\export\export.cpp(305) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\export\export.cpp(379) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\export\export.cpp(490) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\export\export.cpp(534) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\export\export.cpp(649) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\export\export.cpp(660) : warning C4018: '>=' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\waveclip.cpp(123) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\waveclip.cpp(154) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\waveclip.cpp(194) : warning C4018: '<' : signed/unsigned mismatch 20>c:\sourceforge\audacity\src\sequence.cpp(1038) : warning C4146: unary minus operator applied to unsigned type, result still unsigned 20>c:\sourceforge\audacity\src\sequence.cpp(1051) : warning C4146: unary minus operator applied to unsigned type, result still unsigned |