diff --git a/examples/build/ma_build_examples_bsd b/examples/build/ma_build_examples_bsd index 7a5f32a0..bd54977e 100644 --- a/examples/build/ma_build_examples_bsd +++ b/examples/build/ma_build_examples_bsd @@ -1,4 +1,6 @@ -cc ../simple_playback.c -o ../bin/simple_playback -Wall -lpthread -lm -cc ../simple_capture.c -o ../bin/simple_capture -Wall -lpthread -lm -cc ../simple_enumeration.c -o ../bin/simple_enumeration -Wall -lpthread -lm -cc ../advanced_config.c -o ../bin/advanced_config -Wall -lpthread -lm +cc ../simple_playback.c -o ../bin/simple_playback -Wall -Wpedantic -std=c99 -lpthread -lm +cc ../simple_capture.c -o ../bin/simple_capture -Wall -Wpedantic -std=c99 -lpthread -lm +cc ../simple_enumeration.c -o ../bin/simple_enumeration -Wall -Wpedantic -std=c99 -lpthread -lm +cc ../simple_mixing.c -o ../bin/simple_mixing -Wall -Wpedantic -std=c99 -lpthread -lm +cc ../simple_playback_emscripten.c -o ../bin/simple_playback_emscripten -Wall -Wpedantic -std=c99 -lpthread -lm +cc ../advanced_config.c -o ../bin/advanced_config -Wall -Wpedantic -std=c99 -lpthread -lm diff --git a/examples/build/ma_build_examples_linux b/examples/build/ma_build_examples_linux index 297abfb9..9eb47c83 100644 --- a/examples/build/ma_build_examples_linux +++ b/examples/build/ma_build_examples_linux @@ -1,4 +1,6 @@ -cc ../simple_playback.c -o ../bin/simple_playback -Wall -ldl -lpthread -lm -cc ../simple_capture.c -o ../bin/simple_capture -Wall -ldl -lpthread -lm -cc ../simple_enumeration.c -o ../bin/simple_enumeration -Wall -ldl -lpthread -lm -cc ../advanced_config.c -o ../bin/advanced_config -Wall -ldl -lpthread -lm +cc ../simple_playback.c -o ../bin/simple_playback -Wall -Wpedantic -std=c99 -lpthread -ldl -lm +cc ../simple_capture.c -o ../bin/simple_capture -Wall -Wpedantic -std=c99 -lpthread -ldl -lm +cc ../simple_enumeration.c -o ../bin/simple_enumeration -Wall -Wpedantic -std=c99 -lpthread -ldl -lm +cc ../simple_mixing.c -o ../bin/simple_mixing -Wall -Wpedantic -std=c99 -lpthread -ldl -lm +cc ../simple_playback_emscripten.c -o ../bin/simple_playback_emscripten -Wall -Wpedantic -std=c99 -lpthread -ldl -lm +cc ../advanced_config.c -o ../bin/advanced_config -Wall -Wpedantic -std=c99 -lpthread -ldl -lm \ No newline at end of file diff --git a/examples/build/ma_build_examples_mac b/examples/build/ma_build_examples_mac index 3956d8a8..49f173ec 100755 --- a/examples/build/ma_build_examples_mac +++ b/examples/build/ma_build_examples_mac @@ -1,4 +1,6 @@ -cc ../simple_playback.c -o ../bin/simple_playback -Wall -lpthread -lm -framework CoreFoundation -framework CoreAudio -framework AudioToolbox -cc ../simple_capture.c -o ../bin/simple_capture -Wall -lpthread -lm -framework CoreFoundation -framework CoreAudio -framework AudioToolbox -cc ../simple_enumeration.c -o ../bin/simple_enumeration -Wall -lpthread -lm -framework CoreFoundation -framework CoreAudio -framework AudioToolbox -cc ../advanced_config.c -o ../bin/advanced_config -Wall -lpthread -lm -framework CoreFoundation -framework CoreAudio -framework AudioToolbox +cc ../simple_playback.c -o ../bin/simple_playback -Wall -Wpedantic -std=c99 -lpthread -lm -framework CoreFoundation -framework CoreAudio -framework AudioToolbox +cc ../simple_capture.c -o ../bin/simple_capture -Wall -Wpedantic -std=c99 -lpthread -lm -framework CoreFoundation -framework CoreAudio -framework AudioToolbox +cc ../simple_enumeration.c -o ../bin/simple_enumeration -Wall -Wpedantic -std=c99 -lpthread -lm -framework CoreFoundation -framework CoreAudio -framework AudioToolbox +cc ../advanced_config.c -o ../bin/advanced_config -Wall -Wpedantic -std=c99 -lpthread -lm -framework CoreFoundation -framework CoreAudio -framework AudioToolbox +cc ../simple_mixing.c -o ../bin/simple_mixing -Wall -Wpedantic -std=c99 -lpthread -lm -framework CoreFoundation -framework CoreAudio -framework AudioToolbox +cc ../simple_playback_emscripten.c -o ../bin/simple_playback_emscripten -Wall -Wpedantic -std=c99 -lpthread -lm -framework CoreFoundation -framework CoreAudio -framework AudioToolbox \ No newline at end of file diff --git a/examples/build/ma_build_examples_win32.bat b/examples/build/ma_build_examples_win32.bat index 1bdb48b0..b09c4922 100644 --- a/examples/build/ma_build_examples_win32.bat +++ b/examples/build/ma_build_examples_win32.bat @@ -1,7 +1,7 @@ @echo off SET c_compiler=gcc SET cpp_compiler=g++ -SET options=-Wall +SET options=-Wall -Wpedantic -std=c99 @echo on %c_compiler% ../simple_playback.c -o ../bin/simple_playback.exe %options%