Page MenuHomePhabricator

remove register storage class specifier.

Authored by emaste on Jul 7 2017, 7:03 AM.



Found while importing libomp into the FreeBSD base system ( Use of register produced warnings like: warning: 'register' storage class specifier is deprecated and
      incompatible with C++1z [-Wdeprecated-register]
        register int i;

The proposed FreeBSD import currently uses a hack (adding -Dregister= to CFLAGS). Here, just remove the deprecated keyword.

Event Timeline

emaste created this revision.Jul 7 2017, 7:03 AM
This revision is now accepted and ready to land.Jul 7 2017, 9:00 AM
This revision was automatically updated to reflect the committed changes.