Closed djipi closed 2 months ago
Hi @djipi , it is sad that there is already a WAVE_FORMAT_PCM
macro in Windows headers. I have to consider what the best way is to solve this issue. There may have to be a breakage of API.
Hi @brglng , well, it is unfortunate. But it looks like the Windows macro has the same value than your own. To avoid the redefinition, may be you can check if the define is already existing?
@djipi Please check if this issue is fixed in the latest commit.
Thank you @brglng , the redefinition has disappeared.
When using the library, Visual Studio 2022 issue a warning. C:\SDK\WAV\libwave\include\wave.h(81,9): warning C4005: 'WAVE_FORMAT_PCM': macro redefinition
I wanted to report it as it is the only warning issued during the compilation, and I do not know if you track them.