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
When compiling florb v1.1 on Fedora 41, encountered a compilation error in dlg_settings_ex.cpp:197:
dlg_settings_ex.cpp:197:88: error: taking address of rvalue [-fpermissive] m_input_trackwidth->value(static_cast<std::ostringstream*>( &(std::ostringstream() << m_cfgui.tracklinewidth()) )->str().c_str());
The error occurs because the code attempts to take the address of a temporary stringstream object. Fixed by replacing the problematic line with:
m_input_trackwidth->value(std::to_string(m_cfgui.tracklinewidth()).c_str());
Environment:
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
When compiling florb v1.1 on Fedora 41, encountered a compilation error in dlg_settings_ex.cpp:197:
The error occurs because the code attempts to take the address of a temporary stringstream object.
Fixed by replacing the problematic line with:
m_input_trackwidth->value(std::to_string(m_cfgui.tracklinewidth()).c_str());
Environment:
The text was updated successfully, but these errors were encountered: