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

MSVC build #10

Open
davy7125 opened this issue Sep 7, 2015 · 0 comments · May be fixed by #31
Open

MSVC build #10

davy7125 opened this issue Sep 7, 2015 · 0 comments · May be fixed by #31

Comments

@davy7125
Copy link

davy7125 commented Sep 7, 2015

Hi,

I imported the code in Polyphone but when I build it with MSVC:
"char buffer[i];" is not allowed (you can use new char[i] and delete [] instead). This appears at 2 positions in the code.

The line "char buffer[1024*1024];" can be compiled but this crashed the software. Using new char[1048576] and delete [] solved the problem.

davy7125 added a commit to davy7125/sftools that referenced this issue Aug 30, 2020
Integration improvement (fix musescore#11):
* preprocessor variable to loose the xml and libsnd dependencies
* namespace SfTools
* smallSf now a class variable
* C++11 not needed anymore (struct initialization)
* dynamic declaration of array now ok with visual C++ (fix musescore#10)
* warning and unused variables removed

Bug fix:
* sample links now kept in the soundfont (fix musescore#9)
@davy7125 davy7125 linked a pull request Aug 30, 2020 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant