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

Build failure on Mac platform #59

Closed
cschol opened this issue Apr 30, 2020 · 0 comments
Closed

Build failure on Mac platform #59

cschol opened this issue Apr 30, 2020 · 0 comments

Comments

@cschol
Copy link
Contributor

cschol commented Apr 30, 2020

[FrozenWasteland] Building plugin on platform mac...                                                                                                                                                                                                            
src/PortlandWeather.cpp:232:37: error: type 'float' cannot be narrowed to 'bool' in initializer list [-Wc++11-narrowing]                                                                                                                                                                                              
        bool expanderMuteTaps[NUM_TAPS] = {0.0f};                                                                                                                                                                                                                                                                     
                                           ^~~~                                                                                                                                                                                                                                                                       
src/PortlandWeather.cpp:232:37: note: insert an explicit cast to silence this issue                                                                                                                                                                                                                                   
        bool expanderMuteTaps[NUM_TAPS] = {0.0f};                                                                                                                                                                                                                                                                     
                                           ^~~~                                                                                                                                                                                                                                                                       
                                           static_cast<bool>( )                                                                                                                                                                                                                                                       
1 error generated.                                                                                                                                                                                                                                                                                                    
make: *** [build/src/PortlandWeather.cpp.o] Error 1                                                                                                                                                                                                                                                                   
make: *** Waiting for unfinished jobs....                                                                                                                                                                                                                                                                             
FAILED                                                              
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

2 participants