We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
GCC error messages with templates are unreable.
Any ideas how to make them readable?
Is the funktion attribute to check parameter and print readable error message?
The text was updated successfully, but these errors were encountered:
Example of what I mean:
In file included from types__pinset.cc:3:0: yaal/types/pinset.hh: In instantiation of ‘yaal::Pinset<Pin0, Pin1, Pin2, Pin3, Pin4, Pin5, Pin6, Pin7>::self_type& yaal::Pinset<Pin0, Pin1, Pin2, Pin3, Pin4, Pin5, Pin6, Pin7>::operator=(uint8_t) [with Pin0 = yaal::Pin<yaal::Port<yaal::Register<6297780ull, unsigned char>, yaal::Register<6297781ull, unsigned char>, yaal::Register<6297782ull, unsigned char> >, 0u>; Pin1 = yaal::Pin<yaal::Port<yaal::Register<6297780ull, unsigned char>, yaal::Register<6297781ull, unsigned char>, yaal::Register<6297782ull, unsigned char> >, 1u>; Pin2 = yaal::Pin<yaal::Port<yaal::Register<6297780ull, unsigned char>, yaal::Register<6297781ull, unsigned char>, yaal::Register<6297782ull, unsigned char> >, 2u>; Pin3 = yaal::Pin<yaal::Port<yaal::Register<6297780ull, unsigned char>, yaal::Register<6297781ull, unsigned char>, yaal::Register<6297782ull, unsigned char> >, 3u>; Pin4 = yaal::Pin<yaal::Port<yaal::NullRegister, yaal::NullRegister, yaal::NullRegister, 0u>, 255u>; Pin5 = yaal::Pin<yaal::Port<yaal::NullRegister, yaal::NullRegister, yaal::NullRegister, 0u>, 255u>; Pin6 = yaal::Pin<yaal::Port<yaal::NullRegister, yaal::NullRegister, yaal::NullRegister, 0u>, 255u>; Pin7 = yaal::Pin<yaal::Port<yaal::NullRegister, yaal::NullRegister, yaal::NullRegister, 0u>, 255u>; yaal::Pinset<Pin0, Pin1, Pin2, Pin3, Pin4, Pin5, Pin6, Pin7>::self_type = yaal::Pinset<yaal::Pin<yaal::Port<yaal::Register<6297780ull, unsigned char>, yaal::Register<6297781ull, unsigned char>, yaal::Register<6297782ull, unsigned char> >, 0u>, yaal::Pin<yaal::Port<yaal::Register<6297780ull, unsigned char>, yaal::Register<6297781ull, unsigned char>, yaal::Register<6297782ull, unsigned char> >, 1u>, yaal::Pin<yaal::Port<yaal::Register<6297780ull, unsigned char>, yaal::Register<6297781ull, unsigned char>, yaal::Register<6297782ull, unsigned char> >, 2u>, yaal::Pin<yaal::Port<yaal::Register<6297780ull, unsigned char>, yaal::Register<6297781ull, unsigned char>, yaal::Register<6297782ull, unsigned char> >, 3u> >; uint8_t = unsigned char]’: types__pinset.cc:38:5: required from here yaal/types/pinset.hh:32:9: warning: no return statement in function returning non-void [-Wreturn-type]
Sorry, something went wrong.
No branches or pull requests
GCC error messages with templates are unreable.
Any ideas how to make them readable?
Is the funktion attribute to check parameter and print readable error message?
The text was updated successfully, but these errors were encountered: