Home » U++ Library support » U++ Core » Core defs.h double definintion [BUG][FIXED] 
	
		
		
			   Core defs.h double definintion [BUG][FIXED] [message #1648] | 
			Sat, 11 March 2006 13:04   | 
		 
		
			| 
				
	 | 
 
	
		at the end of defs.h (from Core) MemoryInitDiagnostics() is defined twice which is the cause for some compilers to fail compiling it.. 
 
#else 
 
inline void  *MemoryAllocPermanent(size_t size)                { return malloc(size); } 
inline void  *MemoryAlloc(size_t size) { return new byte[size]; } 
inline void   MemoryFree(void *p)      { delete[] (byte *) p; } 
inline size_t HeapRoundUp(size_t size) { return (size + 3) & -4; } 
inline void   MemoryShrink()           {} 
inline void   MemoryProbe(const char *name, dword flags) {} 
inline const char *MemoryCounters() { return ""; } 
inline void   MemoryInitDiagnostics() {}         <<<< 1 
inline void  *MemoryAllocDebug(dword size) {} 
inline void   MemoryFreeDebug(void *p) {} 
inline void   MemoryCheck() {} 
inline void   MemoryInitDiagnostics() {}         <<<<< 2 
 
#endif 
		
		
		[Updated on: Wed, 03 May 2006 19:48] by Moderator Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 07:00:33 CET 2025 
 Total time taken to generate the page: 0.19550 seconds 
 |