Files
rtems/cpukit
Sebastian Huber f35c3be9f8 Remove register keyword from public header files
The following code

  void f(void)
  {
    register int i;
  }

gives a warning with GCC and -std=c++17

  test.cc: In function ‘void f()’:
  test.cc:3:15: warning: ISO C++1z does not allow ‘register’ storage class
  specifier [-Wregister]
    register int i;
		       ^

and clang with -std=c++14

  test.cc:3:3: warning: 'register' storage class specifier is deprecated
  and incompatible with C++1z [-Wdeprecated-register]
    register int i;
    ^~~~~~~~~
  1 warning generated.

Remove the use of the register keyword at least in the public header
files for C++ compatibility.

Close #3397.
2018-04-16 07:37:06 +02:00
..
2018-04-11 13:26:58 +10:00
2018-02-12 14:36:29 +01:00
2018-04-04 10:09:04 +02:00
2018-04-04 10:09:04 +02:00
2018-04-12 07:08:53 +02:00
2018-04-04 10:09:04 +02:00
2018-04-04 10:09:04 +02:00
2018-04-04 10:09:04 +02:00
2018-04-04 10:09:04 +02:00
2018-04-04 10:09:04 +02:00
2018-04-04 10:09:04 +02:00
2018-02-08 11:20:40 +01:00
2018-04-04 10:09:04 +02:00
2018-04-04 10:09:04 +02:00
2018-04-04 10:09:04 +02:00