Re: [PATCH] Remove register keyword from public header files

2018-04-16 Thread Joel Sherrill
I'm a bit surprised we had this many left. I thought we had generally come to agreement not to use register and were slowly removing it anyway. Feel free to commit Please update the Coding Conventions to include not using register. https://devel.rtems.org/wiki/Developer/Coding/Conventions --joel

[PATCH] Remove register keyword from public header files

2018-04-15 Thread Sebastian Huber
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 wit