Changeset 21916 for trunk/src/win32k/misc
- Timestamp:
- Dec 18, 2011, 10:28:22 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 bin 2 Makefile.inc 1 env.cmd 2 LocalConfig.kmk
-
-
Property svn:mergeinfo
set to
/branches/gcc-kmk merged eligible
- Property svn:ignore
-
trunk/src/win32k/misc/avl.c
r4164 r21916 33 33 #include "string.h" 34 34 35 #ifdef __GNUC__ 36 #define _Inline static inline 37 #define __interrupt(n) ({ __asm__ __volatile__ ("int" #n "\n\tnop"); }) 38 #else 35 39 #include <builtin.h> 40 #endif 36 41 #define assert(a) ((a) ? (void)0 : __interrupt(3)) 37 42 -
trunk/src/win32k/misc/new.cpp
r4164 r21916 42 42 * stub 43 43 */ 44 void *operator new(size_t size, void *location) 44 void *operator new(size_t size, void *location) throw() 45 45 { 46 46 dprintf(("operator new(size,location) not implemented\n")); … … 52 52 * stub 53 53 */ 54 void *operator new[](size_t size) 54 void *operator new[](size_t size) throw() 55 55 { 56 56 dprintf(("operator new[](size) not implemented\n")); … … 62 62 * stub 63 63 */ 64 void *operator new[](size_t size, void *location) 64 void *operator new[](size_t size, void *location) throw() 65 65 { 66 66 dprintf(("operator new[](size,location) not implemented\n")); … … 82 82 * stub 83 83 */ 84 void operator delete[](void *location) 84 void operator delete[](void *location) throw() 85 85 { 86 86 dprintf(("operator delete[](location) - not implemented\n")); … … 106 106 * stub 107 107 */ 108 void *operator new(size_t size, const char *filename, size_t lineno, void *location) 108 void *operator new(size_t size, const char *filename, size_t lineno, void *location) throw() 109 109 { 110 110 dprintf(("operator new(size,location) not implemented\n")); … … 116 116 * stub 117 117 */ 118 void *operator new[](size_t size, const char *filename, size_t lineno) 118 void *operator new[](size_t size, const char *filename, size_t lineno) throw() 119 119 { 120 120 dprintf(("operator new[](size) not implemented\n")); … … 126 126 * stub 127 127 */ 128 void *operator new[](size_t size, const char *filename, size_t lineno, void *location) 128 void *operator new[](size_t size, const char *filename, size_t lineno, void *location) throw() 129 129 { 130 130 dprintf(("operator new[](size,location) not implemented\n")); -
trunk/src/win32k/misc/vprintf.c
r5298 r21916 395 395 lValue = va_arg(args, signed long); 396 396 else if (chArgSize == 'h') 397 #ifdef __GNUC__ 398 // shut up stupid warning and avoid stupid abort() 399 lValue = va_arg(args, int); 400 #else 397 401 lValue = va_arg(args, signed short); 402 #endif 398 403 else 399 404 lValue = va_arg(args, signed int);
Note:
See TracChangeset
for help on using the changeset viewer.