Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bitset_new.h throws warnings for GHS compiler #889

Closed
leabut opened this issue Apr 30, 2024 · 1 comment
Closed

bitset_new.h throws warnings for GHS compiler #889

leabut opened this issue Apr 30, 2024 · 1 comment

Comments

@leabut
Copy link

leabut commented Apr 30, 2024

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
Copy link
Contributor

Fixed 20.38.16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants