From ac8c967d10d47162ac17a227f9575f57fe6d4f87 Mon Sep 17 00:00:00 2001 From: Matt Kelly Date: Tue, 11 Feb 2014 01:53:04 -0500 Subject: [PATCH] Remove compiler warnings from TODO --- TODO.md | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/TODO.md b/TODO.md index c4285db3..0dc0d849 100644 --- a/TODO.md +++ b/TODO.md @@ -28,7 +28,6 @@ Note that "improve" and "write" always also means: "document and comment" * Rename the picture filenames to something more meaningful. * Create an index, lists of tables/figures/... - ## Storage * Find a better place for sets.xml than doc. @@ -41,24 +40,6 @@ Note that "improve" and "write" always also means: "document and comment" * Document everything!1!! * Coding guidelines -##Fix compile warnings -* (CMAKE_VERBOSE_MAKEFILE, compile with clang++), this could indicate missing program functionality: - -``` -cockatrice/src/abstractclient.cpp:72:12: warning: enumeration value 'SessionEvent_SessionEventType_SERVER_COMPLETE_LIST' not handled in switch [-Wswitch] - switch ((SessionEvent::SessionEventType) getPbExtension(event)) { -``` - -``` -cockatrice/Cockatrice.VanNostrand/cockatrice/src/player.cpp:1725:12: warning: 4 enumeration values not handled in switch: 'cmMoveToTopLibrary', 'cmMoveToBottomLibrary', 'cmMoveToGraveyard'... [-Wswitch] - switch (static_cast(a->data().toInt())) { -``` - -``` -cockatrice/src/cardzone.cpp:127:11: warning: enumeration values 'CaseTopCardsOfZone', 'CaseRevealZone', and 'CaseShuffleZone' not handled in switch [-Wswitch] - switch (gc) { -``` - ##Else * Update SFMT library (http://www.math.sci.hiroshima-u.ac.jp/~m-mat@math.sci.hiroshima-u.ac.jp/MT/SFMT/) in common/sfmt and adapt common/rng_sfmt.cpp