free-audio / clap

Audio Plugin API
https://cleveraudio.org/
MIT License
1.76k stars 97 forks source link

Little UTF-8 issue in header files #232

Closed Arakula closed 1 year ago

Arakula commented 1 year ago

Some of the header files contain a UTF-8 BOM at the start. When using an old compiler (hey, it's basically ANSI C, so why not?), that can lead to problems; MS Visual C++ 6.0 (part of Visual Studio 98), for example, treats the byte order marks as syntax errors.

abique commented 1 year ago

How to fix it?

Arakula commented 1 year ago

Simply by removing the byte order mark from the start of the files

On Windows, Notepad++ is quite handy for things like that.