Changeset 19167 in vbox
- Timestamp:
- Apr 24, 2009 12:15:18 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 46458
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cdefs.h
r17817 r19167 472 472 # define RCSTRING(pRCString) ("<RC_STRING>") 473 473 #endif 474 475 476 /** @def RT_NOTHING 477 * A macro that expands to nothing. 478 * This is primarily intended as a dummy argument for macros to avoid the 479 * undefined behavior passing empty arguments to an macro (ISO C90 and C++98, 480 * gcc v4.4 warns about it). 481 */ 482 #define RT_NOTHING 474 483 475 484 -
trunk/src/VBox/Runtime/common/ldr/ldrELFRelocatable.cpp.h
r19128 r19167 75 75 #define Elf_Word RTLDRELF_MID(Elf,_Word) 76 76 77 /* gcc-4.4 warning: ''empty macro arguments are undefined in ISO C90 and ISO C++98'' */ 78 #define NO_SUFFIX 79 #define RTLDRMODELF RTLDRELF_MID(RTLDRMODELF,NO_SUFFIX) 80 #define PRTLDRMODELF RTLDRELF_MID(PRTLDRMODELF,NO_SUFFIX) 81 #undef NO_SUFFIX 77 #define RTLDRMODELF RTLDRELF_MID(RTLDRMODELF,RT_NOTHING) 78 #define PRTLDRMODELF RTLDRELF_MID(PRTLDRMODELF,RT_NOTHING) 82 79 83 80 #define ELF_R_SYM(info) RTLDRELF_MID(ELF,_R_SYM)(info)
Note:
See TracChangeset
for help on using the changeset viewer.