ETLCPP / etl

Embedded Template Library
https://www.etlcpp.com
MIT License
2.04k stars 371 forks source link

bitset_new.h throws warnings for GHS compiler #889

Closed leabut closed 1 month ago

leabut commented 2 months ago

GHS compiler suggests to reorder constexpr static to static constexpr

Suggested fix, use static constexpr in etl/include/etl/private/bitset_new.h

"etl/include/etl/private/bitset_new.h", line 224 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 236 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 258 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 279 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 298 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 309 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 321 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 354 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 387 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 420 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 454 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 466 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 495 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 518 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 530 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 541 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 553 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 566 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 577 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 589 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 600 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 612 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 623 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 634 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 647 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 675 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 716 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 729 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 742 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 755 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 768 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 779 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 799 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 819 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 832 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 844 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 892 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 906 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 924 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 951 (col. 7): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 970 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 992 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1009 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1032 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1054 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1074 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1109 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1144 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1179 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1214 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1228 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1243 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1270 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1322 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1362 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1381 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1399 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1421 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1440 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1451 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1468 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1525 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1550 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1567 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1584 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1601 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1618 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1633 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1697 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1763 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1777 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1801 (col. 5): warning #82-D: storage class is not first
"etl/include/etl/private/bitset_new.h", line 1829 (col. 5): warning #82-D: storage class is not first
jwellbelove commented 1 month ago

Fixed 20.38.16