faustlive
faustlive copied to clipboard
error: no template named 'list'; did you mean 'std::list'?
In file included from src/Audio/JA/JA_audioFader.cpp:12:
src/Audio/JA/JA_audioFader.h:30:9: error: no template named 'list'; did you mean 'std::list'?
list<std::pair<std::string, std::string> > fConnectionsIn; // Connections list
^~~~
std::list
/usr/include/c++/v1/list:815:28: note: 'std::list' declared here
class _LIBCPP_TEMPLATE_VIS list
^
In file included from src/Audio/JA/JA_audioFader.cpp:12:
src/Audio/JA/JA_audioFader.h:48:23: error: no template named 'list'; did you mean 'std::list'?
int reconnect(list<std::pair<std::string, std::string> > Connections);
^~~~
std::list
/usr/include/c++/v1/list:815:28: note: 'std::list' declared here
class _LIBCPP_TEMPLATE_VIS list
^
In file included from src/Audio/JA/JA_audioFader.cpp:12:
src/Audio/JA/JA_audioFader.h:50:9: error: no template named 'list'; did you mean 'std::list'?
list<std::pair<std::string, std::string> > get_audio_connections(bool& saved);
^~~~
std::list
/usr/include/c++/v1/list:815:28: note: 'std::list' declared here
class _LIBCPP_TEMPLATE_VIS list
^
src/Audio/JA/JA_audioFader.cpp:20:5: error: no template named 'list'; did you mean 'std::list'?
list<std::pair<std::string, std::string> >::const_iterator it;
^~~~
std::list
/usr/include/c++/v1/list:815:28: note: 'std::list' declared here
class _LIBCPP_TEMPLATE_VIS list
^
src/Audio/JA/JA_audioFader.cpp:53:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
char* val_on = "1";
^
src/Audio/JA/JA_audioFader.cpp:102:9: warning: 'jack_port_set_name' is deprecated [-Wdeprecated-declarations]
jack_port_set_name(fInputPorts[i], buf);
^
/usr/local/include/jack/jack.h:901:67: note: 'jack_port_set_name' has been explicitly marked deprecated here
int jack_port_set_name (jack_port_t *port, const char *port_name) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
^
/usr/local/include/jack/weakmacros.h:80:61: note: expanded from macro 'JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT'
#define JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT __attribute__((__deprecated__))
^
src/Audio/JA/JA_audioFader.cpp:107:9: warning: 'jack_port_set_name' is deprecated [-Wdeprecated-declarations]
jack_port_set_name(fOutputPorts[i], buf);
^
/usr/local/include/jack/jack.h:901:67: note: 'jack_port_set_name' has been explicitly marked deprecated here
int jack_port_set_name (jack_port_t *port, const char *port_name) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
^
/usr/local/include/jack/weakmacros.h:80:61: note: expanded from macro 'JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT'
#define JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT __attribute__((__deprecated__))
^
src/Audio/JA/JA_audioFader.cpp:133:30: error: no template named 'list'; did you mean 'std::list'?
int JA_audioFader::reconnect(list<std::pair<std::string, std::string> > Connections)
^~~~
std::list
/usr/include/c++/v1/list:815:28: note: 'std::list' declared here
class _LIBCPP_TEMPLATE_VIS list
^
src/Audio/JA/JA_audioFader.cpp:135:5: error: no template named 'list'; did you mean 'std::list'?
list<std::pair<std::string, std::string> >::const_iterator it;
^~~~
std::list
/usr/include/c++/v1/list:815:28: note: 'std::list' declared here
class _LIBCPP_TEMPLATE_VIS list
^
src/Audio/JA/JA_audioFader.cpp:276:1: error: no template named 'list'; did you mean 'std::list'?
list<std::pair<std::string, std::string> > JA_audioFader::get_audio_connections(bool& saved)
^~~~
std::list
/usr/include/c++/v1/list:815:28: note: 'std::list' declared here
class _LIBCPP_TEMPLATE_VIS list
^
43 warnings and 7 errors generated.
*** [tmp/JA_audioFader.o] Error code 1
make[2]: stopped in /usr/ports/audio/faustlive/work/faustlive-2.5.15
--- tmp/JA_audioManager.o ---
In file included from src/Audio/JA/JA_audioManager.cpp:13:
src/Audio/JA/JA_audioFader.h:30:9: error: no template named 'list'; did you mean 'std::list'?
list<std::pair<std::string, std::string> > fConnectionsIn; // Connections list
^~~~
std::list
/usr/include/c++/v1/list:815:28: note: 'std::list' declared here
class _LIBCPP_TEMPLATE_VIS list
^
In file included from src/Audio/JA/JA_audioManager.cpp:13:
src/Audio/JA/JA_audioFader.h:48:23: error: no template named 'list'; did you mean 'std::list'?
int reconnect(list<std::pair<std::string, std::string> > Connections);
^~~~
std::list
You should use std::list everywhere instead if list.
Version: 2.5.15 clang-15 FreeBSD 13.2
Are you using the latest version ? https://github.com/grame-cncm/faustlive/blob/master/src/Audio/JA/JA_audioFader.h
The latest master branch doesn't have this problem.
@SpotlightKid The latest release is broken. Do you intend to make a release without this problem?
@yurivict I only submitted a PR with the fix for this issue. It's up to the maintainers of this project to make a new release. I'm not one of them.
Sorry, I didn't realize this.