You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C++ reject to use reinterpret_cast in constexpr expression. Does it realy work on gcc compiler?
It coul be a cause that all objects will be placed in RAM, and all functions also will not be run on compile time.
The text was updated successfully, but these errors were encountered:
Thanks for the feedback lamer0k! Since I don't use AVRs this often anymore, I didn't work on this project for some years now. Back then this code used to work. I didn't find a clear statement, but it might be that this only became illegal in C++14 and was not illegal in C++11 (only unspecified). Back then I was new to C++11 and not aware that this is unspecified behaviour.
Hello Christian , greate work.!
I have a question about the contexpr.
In the file iomm.hpp, line 53, the next code:
C++ reject to use reinterpret_cast in constexpr expression. Does it realy work on gcc compiler?
It coul be a cause that all objects will be placed in RAM, and all functions also will not be run on compile time.
The text was updated successfully, but these errors were encountered: