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
The file q_lib/include/q/support/literals.hpp contains 18 operator overloads for e.g.
constexpr frequency operator "" _Hz(long double val)
The space between " and _Hztriggers a compiler warning, which in our case leads to a compiler error, since we compile with warnings are errors, to force ourselves to produce clean(er) code.
All operator overloads in that file have that problem. Removing the space fixes it and has no side effects.
The text was updated successfully, but these errors were encountered:
I don't want to create a fork for a single file with only 18 trivial changes. If you remove the space, the warning goes away and compiles cleanly on all compilers. The space in between has been deprecated.
The file
q_lib/include/q/support/literals.hpp
contains 18 operator overloads for e.g.constexpr frequency operator "" _Hz(long double val)
The space between
"
and_Hz
triggers a compiler warning, which in our case leads to a compiler error, since we compile with warnings are errors, to force ourselves to produce clean(er) code.All operator overloads in that file have that problem. Removing the space fixes it and has no side effects.
The text was updated successfully, but these errors were encountered: