static_assert errors when compiling stub_mm
Hi there,
I've been trying to compile the stub_mm included with the metamod source files but I can't seem to get around errors relating to static_assert Code:
In file included from ../core/sourcehook/sourcehook.h:118:0, Code:
../core/sourcehook/FastDelegate.h:799:16: error: ‘static_assert’ was not declared in this scope I have tried using GCC4.1, GCC4.8 and GCC5.2. Any ideas? |
Re: static_assert errors when compiling stub_mm
The Makefile you are using to compile it is not up to date and does not include the required --std=c++11 flag.
|
Re: static_assert errors when compiling stub_mm
Wow that makes me feel dumb. I should have checked that it actually used c++11 before wondering that.
Should I submit a PR to get this flag merged into the sample projects in the metamod repo? |
All times are GMT -4. The time now is 09:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.