You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2008/07/29 13:23:01 UTC

svn commit: r680672 - in /harmony/enhanced/drlvm/trunk/vm: jitrino/src/codegenerator/ia32/ jitrino/src/main/ jitrino/src/shared/ port/src/malloc/

Author: hindessm
Date: Tue Jul 29 04:23:00 2008
New Revision: 680672

URL: http://svn.apache.org/viewvc?rev=680672&view=rev
Log:
Add headers required to get function prototypes for (strlen, memset, etc) and
for missing constants (INT_MIN, etc).  These caused g++ 4.3 compiler warnings
which are treated as errors in the drlvm build.

Modified:
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32SpillGen.cpp
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/main/JITInstanceContext.h
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/main/PMF.h
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/CountWriters.cpp
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/Dominator.cpp
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/MemoryManager.cpp
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/PlatformDependant.h
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/XTimer.cpp
    harmony/enhanced/drlvm/trunk/vm/port/src/malloc/port_malloc_registrar.h

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32SpillGen.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32SpillGen.cpp?rev=680672&r1=680671&r2=680672&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32SpillGen.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32SpillGen.cpp Tue Jul 29 04:23:00 2008
@@ -24,6 +24,9 @@
 #include "XTimer.h"
 #include "Counter.h"
 #include "Stl.h"
+#ifdef PLATFORM_POSIX
+#include <limits.h>
+#endif
 
 #ifdef _DEBUG_SPILLGEN
 #include "Ia32SpillGenDbg.h"

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/main/JITInstanceContext.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/main/JITInstanceContext.h?rev=680672&r1=680671&r2=680672&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/main/JITInstanceContext.h (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/main/JITInstanceContext.h Tue Jul 29 04:23:00 2008
@@ -27,6 +27,7 @@
 
 #include <assert.h>
 #include <string>
+#include <string.h>
 
 
 

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/main/PMF.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/main/PMF.h?rev=680672&r1=680671&r2=680672&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/main/PMF.h (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/main/PMF.h Tue Jul 29 04:23:00 2008
@@ -28,6 +28,7 @@
 #include "mkernel.h"
 #include "MemoryManager.h"
 #include "Stl.h"
+#include <string.h>
 #include <iostream>
 #include <iomanip>
 #include <fstream>

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/CountWriters.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/CountWriters.cpp?rev=680672&r1=680671&r2=680672&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/CountWriters.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/CountWriters.cpp Tue Jul 29 04:23:00 2008
@@ -28,6 +28,7 @@
 #include <vector>
 #include <stdio.h>
 #include <assert.h>
+#include <string.h>
 
 #ifdef _WIN32
 #pragma pack(push)

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/Dominator.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/Dominator.cpp?rev=680672&r1=680671&r2=680672&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/Dominator.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/Dominator.cpp Tue Jul 29 04:23:00 2008
@@ -22,6 +22,7 @@
  */
 
 #include "Dominator.h"
+#include <string.h>
 
 namespace Jitrino {
 

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/MemoryManager.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/MemoryManager.cpp?rev=680672&r1=680671&r2=680672&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/MemoryManager.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/MemoryManager.cpp Tue Jul 29 04:23:00 2008
@@ -25,6 +25,7 @@
 #include <malloc.h>
 #else
 #include <stdlib.h>
+#include <string.h>
 #endif
 #include <iostream>
 #include <stdio.h>

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/PlatformDependant.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/PlatformDependant.h?rev=680672&r1=680671&r2=680672&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/PlatformDependant.h (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/PlatformDependant.h Tue Jul 29 04:23:00 2008
@@ -45,6 +45,7 @@
 #undef stdcall__
 #undef cdecl_       
 #ifdef PLATFORM_POSIX
+#include <limits.h>
 
 #ifndef  __stdcall
    #define __stdcall

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/XTimer.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/XTimer.cpp?rev=680672&r1=680671&r2=680672&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/XTimer.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/XTimer.cpp Tue Jul 29 04:23:00 2008
@@ -33,6 +33,10 @@
 
 #define TIMERS_IMPLEMENTED
 //#define USE_THREAD_TIMER
+
+#else
+#include <string.h>
+#include <stdio.h>
 #endif
 
 

Modified: harmony/enhanced/drlvm/trunk/vm/port/src/malloc/port_malloc_registrar.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/port/src/malloc/port_malloc_registrar.h?rev=680672&r1=680671&r2=680672&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/port/src/malloc/port_malloc_registrar.h (original)
+++ harmony/enhanced/drlvm/trunk/vm/port/src/malloc/port_malloc_registrar.h Tue Jul 29 04:23:00 2008
@@ -23,6 +23,7 @@
 #ifdef WIN32
     #include <malloc.h>
 #else
+    #include <stdio.h>
     #include <stdlib.h>
     #include <pthread.h>
 #endif