Closed yurivict closed 1 year ago
Could you please add some context to this warning, e.g. post the commit hash, add a permalink to the specific file & commit, or copy & paste the actual code plus a few lines of context here? Since Common.hpp has seen lots of changes in the recent past, it's hard to tell which actual version you're trying to compile.
Thanks!
Sorry, I use the version 4.0.0
Then the compiler output seems a bit off, as it says the issue it warns about is in line 252 of Common.hpp, but in v4.0.0, it only has 90 lines, including the newline at end of file. Going back in the commit history, I can find a line that will cause the above warning: https://github.com/projectM-visualizer/projectm/blob/7c8d1583ce4fd1b6865093bdbc7e5e7fb1e93fde/src/libprojectM/Common.hpp#L252
But this specific code has been removed a while ago. So please, check again if you're really using the latest commit (or the v4.0.0 release archive). If so, and the warning still persists, please provide a bit more context, e.g. the actual line the compiler is complaining about or upload your version of Common.hpp as an attachment here.
Ah, sorry. This is from a bundled version of projectM in https://github.com/DISTRHO/DPF-Plugins
In this case, I'd suggest you open an issue in the DISTRHO/DPF-Plugins repo, and ask the author to update their version of libprojectM to the final 4.0 release. Looking at the code in the repository, the version is quite old, probably the 3.1.12 release.
The above mentioned warning is already fixed in the current projectM release, so I'll close this issue here.
This warning looks potentially damaging: