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/memcpy.cpp

    r82968 r85075  
    5050#endif
    5151{
    52     register union
     52    union
    5353    {
    5454        uint8_t  *pu8;
     
    5858    uTrg.pv = pvDst;
    5959
    60     register union
     60    union
    6161    {
    6262        uint8_t const  *pu8;
     
    6767
    6868    /* 32-bit word moves. */
    69     register size_t c = cb >> 2;
     69    size_t c = cb >> 2;
    7070    while (c-- > 0)
    7171        *uTrg.pu32++ = *uSrc.pu32++;
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