Using latest CMake 3.17.2, and Visual Studio 2019, I get these warnings when building the static library:
1>------ Build started: Project: libsoundio_static, Configuration: Debug x64 ------
1>Building Custom Rule C:/Users/jwatte/source/repos/SAPS/libsoundio/CMakeLists.txt
1>soundio.c
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(89,23): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,43): warning C4244: 'initializing': conversion from 'int64' to 'double', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,29): warning C4244: 'initializing': conversion from 'int64' to 'const double', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(173,43): warning C4100: 'soundio': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(174,46): warning C4100: 'msg': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(176,59): warning C4100: 'soundio': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(460,71): warning C4100: 'os': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(464,65): warning C4100: 'outstream': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(568,45): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(571,69): warning C4100: 'is': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(575,63): warning C4100: 'instream': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(704,43): warning C4100: 'soundio': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(708,57): warning C4100: 'soundio': unreferenced formal parameter
1>util.c
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(89,23): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,43): warning C4244: 'initializing': conversion from 'int64' to 'double', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,29): warning C4244: 'initializing': conversion from 'int64' to 'const double', possible loss of data
1>os.c
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(89,23): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,43): warning C4244: 'initializing': conversion from 'int64' to 'double', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,29): warning C4244: 'initializing': conversion from 'int64' to 'const double', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\os.c(453,14): warning C4244: 'initializing': conversion from 'double' to 'DWORD', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\os.c(613,39): warning C4244: 'initializing': conversion from 'size_t' to 'double', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\os.c(613,29): warning C4244: 'initializing': conversion from 'size_t' to 'const double', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\os.c(614,23): warning C4244: 'return': conversion from 'double' to 'size_t', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\os.c(622,113): warning C4267: 'argument': conversion from 'size_t' to 'DWORD', possible loss of data
1>dummy.c
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(89,23): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,43): warning C4244: 'initializing': conversion from 'int64' to 'double', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,29): warning C4244: 'initializing': conversion from 'int64' to 'const double', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(37,30): warning C4456: declaration of 'free_bytes' hides previous local declaration
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(20,9): message : see declaration of 'free_bytes'
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(38,31): warning C4456: declaration of 'free_frames' hides previous local declaration
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(21,9): message : see declaration of 'free_frames'
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(53,26): warning C4456: declaration of 'fill_bytes' hides previous local declaration
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(19,9): message : see declaration of 'fill_bytes'
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(55,26): warning C4456: declaration of 'free_bytes' hides previous local declaration
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(20,9): message : see declaration of 'free_bytes'
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(56,27): warning C4456: declaration of 'free_frames' hides previous local declaration
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(21,9): message : see declaration of 'free_frames'
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(59,27): warning C4244: 'initializing': conversion from 'double' to 'long', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(107,27): warning C4244: 'initializing': conversion from 'double' to 'long', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(156,60): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(160,60): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(191,21): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(209,57): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(229,63): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(249,61): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(258,64): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(265,63): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(274,59): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(306,21): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(324,56): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(344,61): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(364,59): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(373,62): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(465,22): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup. See online help for details.
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(466,24): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup. See online help for details.
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(511,22): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup. See online help for details.
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(512,24): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup. See online help for details.
1>channel_layout.c
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(89,23): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,43): warning C4244: 'initializing': conversion from 'int64' to 'double', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,29): warning C4244: 'initializing': conversion from 'int64' to 'const double', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\channel_layout.c(459,42): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>ring_buffer.c
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(89,23): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,43): warning C4244: 'initializing': conversion from 'int64' to 'double', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,29): warning C4244: 'initializing': conversion from 'int64' to 'const double', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\ring_buffer.c(14,70): warning C4100: 'soundio': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\ring_buffer.c(91,36): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
1>wasapi.c
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(89,23): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,43): warning C4244: 'initializing': conversion from 'int64' to 'double', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,29): warning C4244: 'initializing': conversion from 'int64' to 'const double', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(52,48): warning C4211: nonstandard extension used: redefined extern to static
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(53,48): warning C4211: nonstandard extension used: redefined extern to static
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(57,48): warning C4211: nonstandard extension used: redefined extern to static
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(61,39): warning C4211: nonstandard extension used: redefined extern to static
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(65,48): warning C4211: nonstandard extension used: redefined extern to static
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(69,48): warning C4211: nonstandard extension used: redefined extern to static
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(73,48): warning C4211: nonstandard extension used: redefined extern to static
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(77,36): warning C4211: nonstandard extension used: redefined extern to static
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(81,46): warning C4211: nonstandard extension used: redefined extern to static
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(85,44): warning C4211: nonstandard extension used: redefined extern to static
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(89,43): warning C4211: nonstandard extension used: redefined extern to static
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(336,43): warning C4244: '=': conversion from 'const int' to 'WORD', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1187,60): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1202,61): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1340,74): warning C4244: '=': conversion from 'double' to 'UINT32', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1362,12): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1238,53): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1472,35): warning C4456: declaration of 'frame_count_min' hides previous local declaration
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1408,9): message : see declaration of 'frame_count_min'
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1623,58): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1639,58): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1650,64): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1677,62): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1686,65): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1701,64): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1717,63): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1732,59): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1742,60): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1895,12): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1774,52): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2069,57): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2084,57): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2095,62): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2136,60): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2151,63): warning C4100: 'si': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2232,28): warning C4100: 'state': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2232,17): warning C4100: 'wid': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2237,103): warning C4100: 'wid': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2241,105): warning C4100: 'wid': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2246,45): warning C4100: 'wid': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2246,31): warning C4100: 'role': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2246,19): warning C4100: 'flow': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2252,40): warning C4100: 'key': unreferenced formal parameter
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2252,17): warning C4100: 'wid': unreferenced formal parameter
1>Generating Code...
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2302): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1578): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1583): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1588): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1603): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2024): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2029): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2034): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2049): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1525): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1975): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(699): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(729): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(761): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(815): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(868): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(872): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1362): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1895): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(943): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(983): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(989): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(995): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1039): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(644): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(654): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(590): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(619): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\ring_buffer.c(87): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(474): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(479): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(520): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(526): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(221): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(192): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(307): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(336): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\os.c(588): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(191): warning C4706: assignment within conditional expression
1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(237): warning C4706: assignment within conditional expression
1>libsoundio_static.vcxproj -> C:\Users\jwatte\source\repos\SAPS\libsoundio\build\Debug\soundio.lib
1>Done building project "libsoundio_static.vcxproj".
Using latest CMake 3.17.2, and Visual Studio 2019, I get these warnings when building the static library:
1>------ Build started: Project: libsoundio_static, Configuration: Debug x64 ------ 1>Building Custom Rule C:/Users/jwatte/source/repos/SAPS/libsoundio/CMakeLists.txt 1>soundio.c 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(89,23): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,43): warning C4244: 'initializing': conversion from 'int64' to 'double', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,29): warning C4244: 'initializing': conversion from 'int64' to 'const double', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(173,43): warning C4100: 'soundio': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(174,46): warning C4100: 'msg': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(176,59): warning C4100: 'soundio': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(460,71): warning C4100: 'os': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(464,65): warning C4100: 'outstream': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(568,45): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(571,69): warning C4100: 'is': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(575,63): warning C4100: 'instream': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(704,43): warning C4100: 'soundio': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(708,57): warning C4100: 'soundio': unreferenced formal parameter 1>util.c 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(89,23): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,43): warning C4244: 'initializing': conversion from 'int64' to 'double', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,29): warning C4244: 'initializing': conversion from 'int64' to 'const double', possible loss of data 1>os.c 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(89,23): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,43): warning C4244: 'initializing': conversion from 'int64' to 'double', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,29): warning C4244: 'initializing': conversion from 'int64' to 'const double', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\os.c(453,14): warning C4244: 'initializing': conversion from 'double' to 'DWORD', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\os.c(613,39): warning C4244: 'initializing': conversion from 'size_t' to 'double', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\os.c(613,29): warning C4244: 'initializing': conversion from 'size_t' to 'const double', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\os.c(614,23): warning C4244: 'return': conversion from 'double' to 'size_t', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\os.c(622,113): warning C4267: 'argument': conversion from 'size_t' to 'DWORD', possible loss of data 1>dummy.c 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(89,23): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,43): warning C4244: 'initializing': conversion from 'int64' to 'double', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,29): warning C4244: 'initializing': conversion from 'int64' to 'const double', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(37,30): warning C4456: declaration of 'free_bytes' hides previous local declaration 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(20,9): message : see declaration of 'free_bytes' 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(38,31): warning C4456: declaration of 'free_frames' hides previous local declaration 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(21,9): message : see declaration of 'free_frames' 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(53,26): warning C4456: declaration of 'fill_bytes' hides previous local declaration 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(19,9): message : see declaration of 'fill_bytes' 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(55,26): warning C4456: declaration of 'free_bytes' hides previous local declaration 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(20,9): message : see declaration of 'free_bytes' 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(56,27): warning C4456: declaration of 'free_frames' hides previous local declaration 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(21,9): message : see declaration of 'free_frames' 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(59,27): warning C4244: 'initializing': conversion from 'double' to 'long', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(107,27): warning C4244: 'initializing': conversion from 'double' to 'long', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(156,60): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(160,60): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(191,21): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(209,57): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(229,63): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(249,61): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(258,64): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(265,63): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(274,59): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(306,21): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(324,56): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(344,61): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(364,59): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(373,62): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(465,22): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup. See online help for details. 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(466,24): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup. See online help for details. 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(511,22): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup. See online help for details. 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(512,24): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup. See online help for details. 1>channel_layout.c 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(89,23): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,43): warning C4244: 'initializing': conversion from 'int64' to 'double', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,29): warning C4244: 'initializing': conversion from 'int64' to 'const double', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\channel_layout.c(459,42): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data 1>ring_buffer.c 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(89,23): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,43): warning C4244: 'initializing': conversion from 'int64' to 'double', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,29): warning C4244: 'initializing': conversion from 'int64' to 'const double', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\ring_buffer.c(14,70): warning C4100: 'soundio': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\ring_buffer.c(91,36): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data 1>wasapi.c 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(89,23): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,43): warning C4244: 'initializing': conversion from 'int64' to 'double', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\util.h(93,29): warning C4244: 'initializing': conversion from 'int64' to 'const double', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(52,48): warning C4211: nonstandard extension used: redefined extern to static 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(53,48): warning C4211: nonstandard extension used: redefined extern to static 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(57,48): warning C4211: nonstandard extension used: redefined extern to static 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(61,39): warning C4211: nonstandard extension used: redefined extern to static 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(65,48): warning C4211: nonstandard extension used: redefined extern to static 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(69,48): warning C4211: nonstandard extension used: redefined extern to static 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(73,48): warning C4211: nonstandard extension used: redefined extern to static 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(77,36): warning C4211: nonstandard extension used: redefined extern to static 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(81,46): warning C4211: nonstandard extension used: redefined extern to static 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(85,44): warning C4211: nonstandard extension used: redefined extern to static 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(89,43): warning C4211: nonstandard extension used: redefined extern to static 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(336,43): warning C4244: '=': conversion from 'const int' to 'WORD', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1187,60): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1202,61): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1340,74): warning C4244: '=': conversion from 'double' to 'UINT32', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1362,12): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1238,53): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1472,35): warning C4456: declaration of 'frame_count_min' hides previous local declaration 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1408,9): message : see declaration of 'frame_count_min' 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1623,58): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1639,58): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1650,64): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1677,62): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1686,65): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1701,64): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1717,63): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1732,59): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1742,60): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1895,12): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1774,52): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2069,57): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2084,57): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2095,62): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2136,60): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2151,63): warning C4100: 'si': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2232,28): warning C4100: 'state': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2232,17): warning C4100: 'wid': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2237,103): warning C4100: 'wid': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2241,105): warning C4100: 'wid': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2246,45): warning C4100: 'wid': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2246,31): warning C4100: 'role': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2246,19): warning C4100: 'flow': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2252,40): warning C4100: 'key': unreferenced formal parameter 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2252,17): warning C4100: 'wid': unreferenced formal parameter 1>Generating Code... 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2302): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1578): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1583): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1588): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1603): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2024): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2029): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2034): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(2049): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1525): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1975): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(699): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(729): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(761): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(815): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(868): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(872): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1362): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1895): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(943): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(983): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(989): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(995): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(1039): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(644): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(654): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(590): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\wasapi.c(619): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\ring_buffer.c(87): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(474): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(479): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(520): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(526): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(221): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(192): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(307): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\dummy.c(336): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\os.c(588): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(191): warning C4706: assignment within conditional expression 1>C:\Users\jwatte\source\repos\SAPS\libsoundio\src\soundio.c(237): warning C4706: assignment within conditional expression 1>libsoundio_static.vcxproj -> C:\Users\jwatte\source\repos\SAPS\libsoundio\build\Debug\soundio.lib 1>Done building project "libsoundio_static.vcxproj".