starry@imac source-engine % python3 waf build -v Build commands will be stored in build/compile_commands.json Waf: Entering directory `/Users/starry/source-engine/build' [ 11/2299] Compiling tier0/systeminformation.cpp 21:46:41 runner ['/usr/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/starry/source-engine/lib/darwin/x86_64/', '-pthread', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-fPIC', '-Itier0', '-I../tier0', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-I/usr/local/include', '-I/usr/local/include/SDL2', '-I../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-DPLATFORM_64BITS=1', '-DOSX=1', '-D_OSX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.dylib', '-DNO_MEMOVERRIDE_NEW_DELETE=1', '-DNDEBUG', '-DGIT_COMMIT_HASH="29985681-dirty"', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '-DHAVE_FC=1', '-DHAVE_JPEG=1', '-DHAVE_PNG=1', '-DHAVE_CURL=1', '-DHAVE_ZLIB=1', '-DWAF_CFLAGS="[\'-MMD\', \'-fno-strict-aliasing\', \'-fvisibility=hidden\', \'-O2\', \'-funsafe-math-optimizations\', \'-ftree-vectorize\', \'-ffast-math\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DWAF_LDFLAGS="[\'-fvisibility=hidden\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DTIER0_DLL_EXPORT=1', '../tier0/systeminformation.cpp', '-c', '-o/Users/starry/source-engine/build/tier0/systeminformation.cpp.31.o'] [ 13/2299] Compiling tier0/progressbar.cpp 21:46:41 runner ['/usr/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/starry/source-engine/lib/darwin/x86_64/', '-pthread', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-fPIC', '-Itier0', '-I../tier0', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-I/usr/local/include', '-I/usr/local/include/SDL2', '-I../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-DPLATFORM_64BITS=1', '-DOSX=1', '-D_OSX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.dylib', '-DNO_MEMOVERRIDE_NEW_DELETE=1', '-DNDEBUG', '-DGIT_COMMIT_HASH="29985681-dirty"', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '-DHAVE_FC=1', '-DHAVE_JPEG=1', '-DHAVE_PNG=1', '-DHAVE_CURL=1', '-DHAVE_ZLIB=1', '-DWAF_CFLAGS="[\'-MMD\', \'-fno-strict-aliasing\', \'-fvisibility=hidden\', \'-O2\', \'-funsafe-math-optimizations\', \'-ftree-vectorize\', \'-ffast-math\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DWAF_LDFLAGS="[\'-fvisibility=hidden\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DTIER0_DLL_EXPORT=1', '../tier0/progressbar.cpp', '-c', '-o/Users/starry/source-engine/build/tier0/progressbar.cpp.31.o'] [ 15/2299] Compiling tier0/pch_tier0.cpp 21:46:41 runner ['/usr/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/starry/source-engine/lib/darwin/x86_64/', '-pthread', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-fPIC', '-Itier0', '-I../tier0', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-I/usr/local/include', '-I/usr/local/include/SDL2', '-I../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-DPLATFORM_64BITS=1', '-DOSX=1', '-D_OSX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.dylib', '-DNO_MEMOVERRIDE_NEW_DELETE=1', '-DNDEBUG', '-DGIT_COMMIT_HASH="29985681-dirty"', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '-DHAVE_FC=1', '-DHAVE_JPEG=1', '-DHAVE_PNG=1', '-DHAVE_CURL=1', '-DHAVE_ZLIB=1', '-DWAF_CFLAGS="[\'-MMD\', \'-fno-strict-aliasing\', \'-fvisibility=hidden\', \'-O2\', \'-funsafe-math-optimizations\', \'-ftree-vectorize\', \'-ffast-math\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DWAF_LDFLAGS="[\'-fvisibility=hidden\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DTIER0_DLL_EXPORT=1', '../tier0/pch_tier0.cpp', '-c', '-o/Users/starry/source-engine/build/tier0/pch_tier0.cpp.31.o'] [ 16/2299] Compiling tier0/minidump.cpp 21:46:41 runner ['/usr/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/starry/source-engine/lib/darwin/x86_64/', '-pthread', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-fPIC', '-Itier0', '-I../tier0', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-I/usr/local/include', '-I/usr/local/include/SDL2', '-I../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-DPLATFORM_64BITS=1', '-DOSX=1', '-D_OSX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.dylib', '-DNO_MEMOVERRIDE_NEW_DELETE=1', '-DNDEBUG', '-DGIT_COMMIT_HASH="29985681-dirty"', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '-DHAVE_FC=1', '-DHAVE_JPEG=1', '-DHAVE_PNG=1', '-DHAVE_CURL=1', '-DHAVE_ZLIB=1', '-DWAF_CFLAGS="[\'-MMD\', \'-fno-strict-aliasing\', \'-fvisibility=hidden\', \'-O2\', \'-funsafe-math-optimizations\', \'-ftree-vectorize\', \'-ffast-math\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DWAF_LDFLAGS="[\'-fvisibility=hidden\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DTIER0_DLL_EXPORT=1', '../tier0/minidump.cpp', '-c', '-o/Users/starry/source-engine/build/tier0/minidump.cpp.31.o'] [ 23/2299] Compiling tier0/dynfunction.cpp 21:46:41 runner ['/usr/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/starry/source-engine/lib/darwin/x86_64/', '-pthread', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-fPIC', '-Itier0', '-I../tier0', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-I/usr/local/include', '-I/usr/local/include/SDL2', '-I../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-DPLATFORM_64BITS=1', '-DOSX=1', '-D_OSX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.dylib', '-DNO_MEMOVERRIDE_NEW_DELETE=1', '-DNDEBUG', '-DGIT_COMMIT_HASH="29985681-dirty"', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '-DHAVE_FC=1', '-DHAVE_JPEG=1', '-DHAVE_PNG=1', '-DHAVE_CURL=1', '-DHAVE_ZLIB=1', '-DWAF_CFLAGS="[\'-MMD\', \'-fno-strict-aliasing\', \'-fvisibility=hidden\', \'-O2\', \'-funsafe-math-optimizations\', \'-ftree-vectorize\', \'-ffast-math\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DWAF_LDFLAGS="[\'-fvisibility=hidden\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DTIER0_DLL_EXPORT=1', '../tier0/dynfunction.cpp', '-c', '-o/Users/starry/source-engine/build/tier0/dynfunction.cpp.31.o'] [ 26/2299] Compiling tier0/dbg.cpp 21:46:41 runner ['/usr/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/starry/source-engine/lib/darwin/x86_64/', '-pthread', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-fPIC', '-Itier0', '-I../tier0', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-I/usr/local/include', '-I/usr/local/include/SDL2', '-I../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-DPLATFORM_64BITS=1', '-DOSX=1', '-D_OSX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.dylib', '-DNO_MEMOVERRIDE_NEW_DELETE=1', '-DNDEBUG', '-DGIT_COMMIT_HASH="29985681-dirty"', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '-DHAVE_FC=1', '-DHAVE_JPEG=1', '-DHAVE_PNG=1', '-DHAVE_CURL=1', '-DHAVE_ZLIB=1', '-DWAF_CFLAGS="[\'-MMD\', \'-fno-strict-aliasing\', \'-fvisibility=hidden\', \'-O2\', \'-funsafe-math-optimizations\', \'-ftree-vectorize\', \'-ffast-math\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DWAF_LDFLAGS="[\'-fvisibility=hidden\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DTIER0_DLL_EXPORT=1', '../tier0/dbg.cpp', '-c', '-o/Users/starry/source-engine/build/tier0/dbg.cpp.31.o'] clang++: warning: argument unused during compilation: '-L/Users/starry/source-engine/lib/darwin/x86_64/' [-Wunused-command-line-argument] [ 27/2299] Compiling tier0/cpu_usage.cpp 21:46:41 runner ['/usr/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/starry/source-engine/lib/darwin/x86_64/', '-pthread', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-fPIC', '-Itier0', '-I../tier0', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-I/usr/local/include', '-I/usr/local/include/SDL2', '-I../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-DPLATFORM_64BITS=1', '-DOSX=1', '-D_OSX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.dylib', '-DNO_MEMOVERRIDE_NEW_DELETE=1', '-DNDEBUG', '-DGIT_COMMIT_HASH="29985681-dirty"', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '-DHAVE_FC=1', '-DHAVE_JPEG=1', '-DHAVE_PNG=1', '-DHAVE_CURL=1', '-DHAVE_ZLIB=1', '-DWAF_CFLAGS="[\'-MMD\', \'-fno-strict-aliasing\', \'-fvisibility=hidden\', \'-O2\', \'-funsafe-math-optimizations\', \'-ftree-vectorize\', \'-ffast-math\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DWAF_LDFLAGS="[\'-fvisibility=hidden\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DTIER0_DLL_EXPORT=1', '../tier0/cpu_usage.cpp', '-c', '-o/Users/starry/source-engine/build/tier0/cpu_usage.cpp.31.o'] clang++: warning: argument unused during compilation: '-L/Users/starry/source-engine/lib/darwin/x86_64/' [-Wunused-command-line-argument] [ 28/2299] Compiling tier0/cpumonitoring.cpp 21:46:41 runner ['/usr/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/starry/source-engine/lib/darwin/x86_64/', '-pthread', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-fPIC', '-Itier0', '-I../tier0', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-I/usr/local/include', '-I/usr/local/include/SDL2', '-I../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-DPLATFORM_64BITS=1', '-DOSX=1', '-D_OSX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.dylib', '-DNO_MEMOVERRIDE_NEW_DELETE=1', '-DNDEBUG', '-DGIT_COMMIT_HASH="29985681-dirty"', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '-DHAVE_FC=1', '-DHAVE_JPEG=1', '-DHAVE_PNG=1', '-DHAVE_CURL=1', '-DHAVE_ZLIB=1', '-DWAF_CFLAGS="[\'-MMD\', \'-fno-strict-aliasing\', \'-fvisibility=hidden\', \'-O2\', \'-funsafe-math-optimizations\', \'-ftree-vectorize\', \'-ffast-math\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DWAF_LDFLAGS="[\'-fvisibility=hidden\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DTIER0_DLL_EXPORT=1', '../tier0/cpumonitoring.cpp', '-c', '-o/Users/starry/source-engine/build/tier0/cpumonitoring.cpp.31.o'] clang++: warning: argument unused during compilation: '-L/Users/starry/source-engine/lib/darwin/x86_64/' [-Wunused-command-line-argument] [ 29/2299] Compiling tier0/assert_dialog.cpp 21:46:41 runner ['/usr/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/starry/source-engine/lib/darwin/x86_64/', '-pthread', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-fPIC', '-Itier0', '-I../tier0', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-I/usr/local/include', '-I/usr/local/include/SDL2', '-I../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-DPLATFORM_64BITS=1', '-DOSX=1', '-D_OSX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.dylib', '-DNO_MEMOVERRIDE_NEW_DELETE=1', '-DNDEBUG', '-DGIT_COMMIT_HASH="29985681-dirty"', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '-DHAVE_FC=1', '-DHAVE_JPEG=1', '-DHAVE_PNG=1', '-DHAVE_CURL=1', '-DHAVE_ZLIB=1', '-DWAF_CFLAGS="[\'-MMD\', \'-fno-strict-aliasing\', \'-fvisibility=hidden\', \'-O2\', \'-funsafe-math-optimizations\', \'-ftree-vectorize\', \'-ffast-math\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DWAF_LDFLAGS="[\'-fvisibility=hidden\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DTIER0_DLL_EXPORT=1', '../tier0/assert_dialog.cpp', '-c', '-o/Users/starry/source-engine/build/tier0/assert_dialog.cpp.31.o'] clang++: warning: argument unused during compilation: '-L/Users/starry/source-engine/lib/darwin/x86_64/' [-Wunused-command-line-argument] [ 30/2299] Compiling tier1/qsort_s.cpp 21:46:42 runner ['/usr/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/starry/source-engine/lib/darwin/x86_64/', '-pthread', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-Itier1', '-I../tier1', '-I.', '-I..', '-Ipublic', '-I../public', '-Ipublic/tier1', '-I../public/tier1', '-Ipublic/tier0', '-I../public/tier0', '-Icommon', '-I../common', '-I../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-DPLATFORM_64BITS=1', '-DOSX=1', '-D_OSX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.dylib', '-DNO_MEMOVERRIDE_NEW_DELETE=1', '-DNDEBUG', '-DGIT_COMMIT_HASH="29985681-dirty"', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '-DHAVE_FC=1', '-DHAVE_JPEG=1', '-DHAVE_PNG=1', '-DHAVE_CURL=1', '-DHAVE_ZLIB=1', '-DTIER1_STATIC_LIB=1', '../tier1/qsort_s.cpp', '-c', '-o/Users/starry/source-engine/build/tier1/qsort_s.cpp.32.o'] clang++: warning: argument unused during compilation: '-L/Users/starry/source-engine/lib/darwin/x86_64/' [-Wunused-command-line-argument] In file included from ../tier0/progressbar.cpp:9: In file included from ../public/vstdlib/pch_vstdlib.h:39: In file included from ../public/tier1/KeyValues.h:25: In file included from ../public/tier1/utlvector.h:25: ../public/tier1/utlblockmemory.h:140:12: error: use of undeclared identifier 'variable1' 140 | std::swap(variable1, variable2); | ^ ../public/tier1/utlblockmemory.h:140:23: error: use of undeclared identifier 'variable2' 140 | std::swap(variable1, variable2); | ^ 2 errors generated. clang++: warning: argument unused during compilation: '-L/Users/starry/source-engine/lib/darwin/x86_64/' [-Wunused-command-line-argument] clang++: warning: argument unused during compilation: '-L/Users/starry/source-engine/lib/darwin/x86_64/' [-Wunused-command-line-argument] ../tier0/dbg.cpp:434:10: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 434 | len += _stprintf( &pTempBuffer[len], _T("\n") ); | ^ ../public/tier0/wchartypes.h:71:19: note: expanded from macro '_stprintf' 71 | #define _stprintf sprintf | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ 1 warning generated. clang++: warning: argument unused during compilation: '-L/Users/starry/source-engine/lib/darwin/x86_64/' [-Wunused-command-line-argument] clang++: warning: argument unused during compilation: '-L/Users/starry/source-engine/lib/darwin/x86_64/' [-Wunused-command-line-argument] clang++: warning: argument unused during compilation: '-L/Users/starry/source-engine/lib/darwin/x86_64/' [-Wunused-command-line-argument] Waf: Leaving directory `/Users/starry/source-engine/build' Build failed -> task in 'tier0' failed with exit status 1: {task 4508944096: cxx progressbar.cpp -> progressbar.cpp.31.o} ['/usr/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/starry/source-engine/lib/darwin/x86_64/', '-pthread', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-fPIC', '-Itier0', '-I../tier0', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-I/usr/local/include', '-I/usr/local/include/SDL2', '-I../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-DPLATFORM_64BITS=1', '-DOSX=1', '-D_OSX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.dylib', '-DNO_MEMOVERRIDE_NEW_DELETE=1', '-DNDEBUG', '-DGIT_COMMIT_HASH="29985681-dirty"', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '-DHAVE_FC=1', '-DHAVE_JPEG=1', '-DHAVE_PNG=1', '-DHAVE_CURL=1', '-DHAVE_ZLIB=1', '-DWAF_CFLAGS="[\'-MMD\', \'-fno-strict-aliasing\', \'-fvisibility=hidden\', \'-O2\', \'-funsafe-math-optimizations\', \'-ftree-vectorize\', \'-ffast-math\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DWAF_LDFLAGS="[\'-fvisibility=hidden\', \'-pipe\', \'-fPIC\', \'-L/Users/starry/source-engine/lib/darwin/x86_64/\', \'-pthread\', \'-mfpmath=sse\']"', '-DTIER0_DLL_EXPORT=1', '../tier0/progressbar.cpp', '-c', '-o/Users/starry/source-engine/build/tier0/progressbar.cpp.31.o']