Commit Graph

3 Commits

Author SHA1 Message Date
computezrmle 2f16a23cfb
Fix compiler warning "-Wregister"
dhrystone2.cpp:56:17: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   56 |   REG One_Fifty Int_Index;
      |                 ^~~~~~~~~
dhrystone2.cpp:57:17: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   57 |   REG One_Fifty Int_Loc;
      |                 ^~~~~~~
dhrystone2.cpp: In function ‘bool Func_2(DS_DATA&, char*, char*)’:
dhrystone2.cpp:91:25: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   91 |   REG One_Thirty        Int_Loc;
      |                         ^~~~~~~
  CXX      boinc_client-whetstone.o
dhrystone.cpp: In function ‘int dhrystone(double&, double&, double&, double)’:
dhrystone.cpp:83:25: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   83 |   REG   One_Fifty       Int_2_Loc;
      |                         ^~~~~~~~~
dhrystone.cpp:85:25: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   85 |   REG   char            Ch_Index;
      |                         ^~~~~~~~
dhrystone.cpp:97:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   97 |     REG unsigned long  Run_Index;
      |                        ^~~~~~~~~
dhrystone.cpp: At global scope:
dhrystone.cpp:184:42: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
  184 | void Proc_1(DS_DATA& dd, REG Rec_Pointer Ptr_Val_Par)
      |                                          ^~~~~~~~~~~
dhrystone.cpp: In function ‘void Proc_1(DS_DATA&, Rec_Pointer)’:
dhrystone.cpp:186:19: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
  186 |   REG Rec_Pointer Next_Record = Ptr_Val_Par->Ptr_Comp;
      |                   ^~~~~~~~~~~
2022-01-20 09:22:31 +01:00
Charlie Fenton 661983a5d6 Mac: fix compile warnings caused by upgrade to C++11 2021-03-31 03:44:19 -07:00
David Anderson 564f076fbb *** empty log message ***
svn path=/trunk/boinc/; revision=4477
2004-11-02 20:30:19 +00:00