Created
December 1, 2014 18:27
-
-
Save tallica/857fbe1733c0d849bc3e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugin-init.cc:78:55: error: constexpr variable 'table' must be initialized by a constant expression | |
static constexpr aud::array<PluginType, PluginParams> table = { | |
^ ~ | |
../libaudcore/templates.h:110:16: note: non-constexpr function 'forward<PluginParams>' cannot be used in a constant expression | |
vals { std::forward<Args> (args) ...} {} | |
^ | |
plugin-init.cc:78:63: note: in call to 'array(PluginParams("transport", MultiFuncs({ nullptr, nullptr })), PluginParams("playlist", MultiFuncs({ nullptr, nullptr })), PluginParams("input", MultiFuncs({ nullptr, nullptr })), PluginParams("effect", MultiFuncs({ effect_plugin_start, effect_plugin_stop })), PluginParams("output", SingleFuncs({ output_plugin_get_current, output_plugin_set_current })), PluginParams("visualization", MultiFuncs({ vis_plugin_start, vis_plugin_stop })), PluginParams("general", MultiFuncs({ general_plugin_start, general_plugin_stop })), PluginParams("interface", SingleFuncs({ iface_plugin_get_current, iface_plugin_set_current })))' | |
static constexpr aud::array<PluginType, PluginParams> table = { | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:1547:1: note: declared here | |
forward(typename std::remove_reference<_Tp>::type& __t) _NOEXCEPT | |
^ | |
1 error generated. | |
Failed to compile plugin-init.cc (lib)! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment