VirtualBox

Ignore:
Timestamp:
Jul 6, 2020 5:17:30 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
138979
Message:

IPRT/string: Stop using the 'register' keyword as Clang warns in C++11 mode. bugref:9790

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/string/memset.cpp

    r82968 r85075  
    5050#endif
    5151{
    52     register union
     52    union
    5353    {
    5454        uint8_t  *pu8;
     
    5959
    6060    /* 32-bit word moves. */
    61     register uint32_t u32 = ch | (ch << 8);
     61    uint32_t u32 = ch | (ch << 8);
    6262    u32 |= u32 << 16;
    63     register size_t c = cb >> 2;
     63    size_t c = cb >> 2;
    6464    while (c-- > 0)
    6565        *u.pu32++ = u32;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette