Skip to content
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

Clang warnings #10

Open
yurivict opened this issue Aug 18, 2017 · 0 comments
Open

Clang warnings #10

yurivict opened this issue Aug 18, 2017 · 0 comments

Comments

@yurivict
Copy link

yurivict commented Aug 18, 2017

Version 1.3.0 has these warnings

src/lv2.cpp:91:11: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
        if (port >= 0 && port < 2) {
            ~~~~ ^  ~
include/faust-dsp.h:10:7: warning: private field 'fStopped' is not used [-Wunused-private-field]
        bool    fStopped;
                ^

The current code also has some errors, ex.:

In file included from src/faust-dsp-standalone.cpp:43:
src/../gen/yc20-dsp-standalone.cpp:668:14: error: 'static' member function 'metadata' overrides a virtual function in a base class
        static void metadata(Meta* m)   { 
                    ^

Please make sure your project is compiled by clang without errors/warning.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant