-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
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
Compiling issues with GCC 11.1.0 on Arch Linux (GLEW 2.2, Gnome, Wayland) #51
Comments
I'm not sure what the issue is. It kinda looks like the compiler doesn't agree with one of the features used, but GCC 11 is really new so it's unlikely. Glad that it worked for you with clang :) |
Crosspost from the note I left in #29: Downgrading C++ standard to GNU++17 seems to fix the issue. Could be that GNU++20 is having some problem with
On GNOME wayland, window decoration (drawing of the outer frame of the window, including the title and the buttons) is handled by the app rather than the window manager. So this is normal. I used the X11 build instead so the title and close button are visible for me. |
If you put |
@Tatsh May be a kind of "noob question", but could you elaborate a little if I have to set |
@fridlmue It should be the default to C++20. |
Same issue |
@fridlmue diff --git a/Client/SingleInstanceFuture.h b/Client/SingleInstanceFuture.h
index 8af733f..d2e6c49 100644
--- a/Client/SingleInstanceFuture.h
+++ b/Client/SingleInstanceFuture.h
@@ -12,13 +12,13 @@ template <class T>
class SingleInstanceFuture : public std::future<T>
{
public:
- SingleInstanceFuture<T>() = default;
+ SingleInstanceFuture(void) = default;
template<class Func, class... Args>
void setFromAsync(Func func, Args&&... args) noexcept(false);
bool ready();
private:
- SingleInstanceFuture<T>(std::future<T> other);
+ SingleInstanceFuture(std::future<T> other);
SingleInstanceFuture<T> operator=(std::future<T>& other);
}; GCC 11 will accept this now with Similar issue in another project: boostorg/msm#26 Related mailing list post: https://gcc.gnu.org/pipermail/gcc-patches/2020-April/543301.html |
@Tatsh thank you, your patch works |
Hi, I'm having trouble compiling this package.
I cannot use the precompiled release, as Arch is on GLEW 2.2, and I'm using Wayland (which requires GLEW to be compiled with some options), so simply downloading an old version is not that straight forward.
So I'm trying now to compile from source and I'm getting the following log.
The text was updated successfully, but these errors were encountered: