Changeset 97964 in vbox for trunk/include
- Timestamp:
- Jan 3, 2023 9:40:54 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 155055
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/assertcompile.h
r97963 r97964 103 103 */ 104 104 #ifdef __GNUC__ 105 # define AssertCompileNS(expr) extern int RTASSERTVAR[1] __attribute__((__unused__)), RTASSERTVAR[(expr) ? 1 : 0] __attribute__((__unused__)) 105 # ifdef __cplusplus 106 # define AssertCompileNS(expr) extern "C" int RTASSERTVAR[1] __attribute__((__unused__)), RTASSERTVAR[(expr) ? 1 : 0] __attribute__((__unused__)) 107 # else 108 # define AssertCompileNS(expr) extern int RTASSERTVAR[1] __attribute__((__unused__)), RTASSERTVAR[(expr) ? 1 : 0] __attribute__((__unused__)) 109 # endif 106 110 #elif defined(__IBMC__) || defined(__IBMCPP__) 107 111 # define AssertCompileNS(expr) extern int RTASSERTVAR[(expr) ? 1 : 0]
Note:
See TracChangeset
for help on using the changeset viewer.