VS2005 compatibility fixes and warning adjustments:

Updated DLLs.
Added DirectX headers/libraries, since they're not in the platform SDK.
Fixed invalid STL iterator usage.
Disabled STL in stack trace, since it breaks.
Added comments for some reported warnings.
Corrected some apparent off-by-one errors.
Defined strlen_s to strnlen.
Probably broke pre-beta2 versions of VC2005.

This was SVN commit r2454.
This commit is contained in:
Ykkrosh
2005-07-02 21:42:55 +00:00
parent f3b5e08030
commit 2ea40a23a3
24 changed files with 112 additions and 64 deletions
+1 -1
View File
@@ -334,7 +334,7 @@ void CList::DrawList(const int &selected,
rect.right, rect.top + m_ItemsYPositions[selected+1] - scroll);
if (rect.top <= rect.bottom &&
rect.bottom >= rect.top)
rect.bottom >= rect.top) // TODO: "warning C6287: redundant code: the left and right sub-expressions are identical"
{
if (rect.bottom > rect.bottom)
rect.bottom = rect.bottom;