Changeset 73502 in vbox for trunk/include
- Timestamp:
- Aug 5, 2018 12:40:50 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 124129
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/asm.h
r71700 r73502 553 553 * @param Type The type of *ppv, sans volatile. 554 554 */ 555 #ifdef __GNUC__ 555 #ifdef __GNUC__ /* 8.2.0 requires -Wno-ignored-qualifiers */ 556 556 # define ASMAtomicXchgPtrT(ppv, pv, Type) \ 557 557 __extension__ \ … … 732 732 DECLINLINE(bool) ASMAtomicCmpXchgS8(volatile int8_t RT_FAR *pi8, const int8_t i8New, const int8_t i8Old) 733 733 { 734 return ASMAtomicCmpXchgU8((volatile uint8_t RT_FAR *)pi8, ( const uint8_t)i8New, (constuint8_t)i8Old);734 return ASMAtomicCmpXchgU8((volatile uint8_t RT_FAR *)pi8, (uint8_t)i8New, (uint8_t)i8Old); 735 735 } 736 736 … … 750 750 DECLINLINE(bool) ASMAtomicCmpXchgBool(volatile bool RT_FAR *pf, const bool fNew, const bool fOld) 751 751 { 752 return ASMAtomicCmpXchgU8((volatile uint8_t RT_FAR *)pf, ( const uint8_t)fNew, (constuint8_t)fOld);752 return ASMAtomicCmpXchgU8((volatile uint8_t RT_FAR *)pf, (uint8_t)fNew, (uint8_t)fOld); 753 753 } 754 754 … … 2030 2030 * @param Type The type of *ppv, sans volatile. 2031 2031 */ 2032 #ifdef __GNUC__ 2032 #ifdef __GNUC__ /* 8.2.0 requires -Wno-ignored-qualifiers */ 2033 2033 # define ASMAtomicReadPtrT(ppv, Type) \ 2034 2034 __extension__ \ … … 2072 2072 * @param Type The type of *ppv, sans volatile. 2073 2073 */ 2074 #ifdef __GNUC__ 2074 #ifdef __GNUC__ /* 8.2.0 requires -Wno-ignored-qualifiers */ 2075 2075 # define ASMAtomicUoReadPtrT(ppv, Type) \ 2076 2076 __extension__ \
Note:
See TracChangeset
for help on using the changeset viewer.