• R/O
  • SSH
  • HTTPS

eirdebug: Commit


Commit MetaInfo

Revision4 (tree)
Zeit2018-02-09 03:35:14
Autorquiret

Log Message

- removed some GCC warnings

Ändern Zusammenfassung

Diff

--- dbgheap.cpp (revision 3)
+++ dbgheap.cpp (revision 4)
@@ -908,8 +908,10 @@
908908
909909 // DebugHeap memory checkup routine.
910910 // Loops through all memory blocks and tells you about their callstacks.
911-// Use this in combination with breakpoints.
912-#pragma optimize("", off)
911+// Use this in combination with breakpoints.
912+#ifdef _MSC_VER
913+#pragma optimize("", off)
914+#endif //_MSC_VER
913915
914916 void DbgHeap_CheckActiveBlocks( void )
915917 {
@@ -930,9 +932,11 @@
930932
931933 #endif //USE_HEAP_DEBUGGING
932934 }
935+
936+#ifdef _MSC_VER
937+#pragma optimize("", on)
938+#endif //_MSC_VER
933939
934-#pragma optimize("", on)
935-
936940 // DebugHeap memory callback routines.
937941 // Call these to set specific callbacks for memory watching.
938942 void DbgHeap_SetMemoryAllocationWatch( pfnMemoryAllocWatch allocWatchCallback )
Show on old repository browser