Re: [fluid-dev] Current code overrides getopt.h declarations on Windows

2017-10-21 Thread Tom M.
clang-tidy also remarks that on Linux. Not sure why it has been done that way. Tom 2017-10-21 17:01 GMT+02:00 Carlo Bramini : > Hello, > when compiling Fluidsynth on Windows, the compiler prints these messages > into the console: > > [ 97%] Building C object src/CMakeFiles/fluidsynth.dir/fluid

[fluid-dev] Current code overrides getopt.h declarations on Windows

2017-10-21 Thread Carlo Bramini
Hello, when compiling Fluidsynth on Windows, the compiler prints these messages into the console: [ 97%] Building C object src/CMakeFiles/fluidsynth.dir/fluidsynth.c.o /home/Carlo/fluidsynth/src/fluidsynth.c:67:14: warning: 'optarg' redeclared with out dllimport attribute: previous dllimport ign