nillerusr / source-engine

Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
Other
1.27k stars 200 forks source link

fails to build on macos sequoia - error: no member named 'swap' in CUtlBlockMemory<T, I> #379

Open jtippett opened 3 weeks ago

jtippett commented 3 weeks ago

configure appears to work, then it fails with cryptic C++ errors. I note the repeated occurence of error: no member named 'swap' in 'CUtlBlockMemory<T, I>.

Any ideas?

james@black-lagoon source-engine % python3 waf build -v
Build commands will be stored in build/compile_commands.json
Waf: Entering directory `/Users/james/Desktop/source-engine/build'
[  13/2125] Compiling tier0/progressbar.cpp
17:36:00 runner ['/opt/homebrew/opt/llvm/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/', '-pthread', '-fsigned-char', '-std=c++11', '-fpermissive', '-fPIC', '-Itier0', '-I../tier0', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-I/opt/homebrew/include', '-I/opt/homebrew/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"', '-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/james/Desktop/source-engine/lib/darwin/aarch64/\', \'-pthread\', \'-fsigned-char\']"', '-DWAF_LDFLAGS="[\'-fvisibility=hidden\', \'-pipe\', \'-fPIC\', \'-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/\', \'-pthread\', \'-fsigned-char\']"', '-DTIER0_DLL_EXPORT=1', '../tier0/progressbar.cpp', '-c', '-o/Users/james/Desktop/source-engine/build/tier0/progressbar.cpp.31.o']
[  32/2125] Compiling tier1/utlsymbol.cpp
17:36:00 runner ['/opt/homebrew/opt/llvm/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/', '-pthread', '-fsigned-char', '-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"', '-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/utlsymbol.cpp', '-c', '-o/Users/james/Desktop/source-engine/build/tier1/utlsymbol.cpp.32.o']
[  34/2125] Compiling tier1/utlbufferutil.cpp
17:36:00 runner ['/opt/homebrew/opt/llvm/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/', '-pthread', '-fsigned-char', '-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"', '-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/utlbufferutil.cpp', '-c', '-o/Users/james/Desktop/source-engine/build/tier1/utlbufferutil.cpp.32.o']
[  35/2125] Compiling tier1/utlbuffer.cpp
17:36:00 runner ['/opt/homebrew/opt/llvm/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/', '-pthread', '-fsigned-char', '-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"', '-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/utlbuffer.cpp', '-c', '-o/Users/james/Desktop/source-engine/build/tier1/utlbuffer.cpp.32.o']
[  37/2125] Compiling tier1/uniqueid.cpp
17:36:00 runner ['/opt/homebrew/opt/llvm/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/', '-pthread', '-fsigned-char', '-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"', '-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/uniqueid.cpp', '-c', '-o/Users/james/Desktop/source-engine/build/tier1/uniqueid.cpp.32.o']
[  39/2125] Compiling tier1/tier1.cpp
17:36:00 runner ['/opt/homebrew/opt/llvm/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/', '-pthread', '-fsigned-char', '-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"', '-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/tier1.cpp', '-c', '-o/Users/james/Desktop/source-engine/build/tier1/tier1.cpp.32.o']
[  41/2125] Compiling tier1/strtools.cpp
17:36:00 runner ['/opt/homebrew/opt/llvm/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/', '-pthread', '-fsigned-char', '-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"', '-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/strtools.cpp', '-c', '-o/Users/james/Desktop/source-engine/build/tier1/strtools.cpp.32.o']
[  42/2125] Compiling tier1/stringpool.cpp
17:36:00 runner ['/opt/homebrew/opt/llvm/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/', '-pthread', '-fsigned-char', '-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"', '-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/stringpool.cpp', '-c', '-o/Users/james/Desktop/source-engine/build/tier1/stringpool.cpp.32.o']
[  43/2125] Compiling tier1/splitstring.cpp
17:36:00 runner ['/opt/homebrew/opt/llvm/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/', '-pthread', '-fsigned-char', '-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"', '-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/splitstring.cpp', '-c', '-o/Users/james/Desktop/source-engine/build/tier1/splitstring.cpp.32.o']
[  44/2125] Compiling tier1/sparsematrix.cpp
17:36:00 runner ['/opt/homebrew/opt/llvm/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/', '-pthread', '-fsigned-char', '-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"', '-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/sparsematrix.cpp', '-c', '-o/Users/james/Desktop/source-engine/build/tier1/sparsematrix.cpp.32.o']
clang++: warning: argument unused during compilation: '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/' [-Wunused-command-line-argument]
In file included from ../tier1/sparsematrix.cpp:5:
In file included from ../public/tier1/sparsematrix.h:11:
In file included from ../public/tier1/utlvector.h:25:
../public/tier1/utlblockmemory.h:140:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  140 |         this->swap( m_pMemory, mem.m_pMemory );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:141:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  141 |         this->swap( m_nBlocks, mem.m_nBlocks );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:142:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  142 |         this->swap( m_nIndexMask, mem.m_nIndexMask );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:143:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  143 |         this->swap( m_nIndexShift, mem.m_nIndexShift );
      |         ~~~~  ^
4 errors generated.

clang++: warning: argument unused during compilation: '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/' [-Wunused-command-line-argument]
In file included from ../tier1/uniqueid.cpp:17:
In file included from ../public/tier1/uniqueid.h:17:
In file included from ../public/tier1/utlvector.h:25:
../public/tier1/utlblockmemory.h:140:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  140 |         this->swap( m_pMemory, mem.m_pMemory );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:141:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  141 |         this->swap( m_nBlocks, mem.m_nBlocks );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:142:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  142 |         this->swap( m_nIndexMask, mem.m_nIndexMask );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:143:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  143 |         this->swap( m_nIndexShift, mem.m_nIndexShift );
      |         ~~~~  ^
4 errors generated.

clang++: warning: argument unused during compilation: '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/' [-Wunused-command-line-argument]
In file included from ../tier1/tier1.cpp:7:
In file included from ../public/tier1/tier1.h:16:
In file included from ../public/tier1/convar.h:21:
In file included from ../public/tier1/utlvector.h:25:
../public/tier1/utlblockmemory.h:140:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  140 |         this->swap( m_pMemory, mem.m_pMemory );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:141:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  141 |         this->swap( m_nBlocks, mem.m_nBlocks );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:142:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  142 |         this->swap( m_nIndexMask, mem.m_nIndexMask );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:143:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  143 |         this->swap( m_nIndexShift, mem.m_nIndexShift );
      |         ~~~~  ^
4 errors generated.

clang++: warning: argument unused during compilation: '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/' [-Wunused-command-line-argument]
In file included from ../tier1/utlbuffer.cpp:11:
In file included from ../public/tier1/utlbuffer.h:20:
In file included from ../public/tier1/byteswap.h:13:
In file included from ../public/datamap.h:18:
In file included from ../public/tier1/utlvector.h:25:
../public/tier1/utlblockmemory.h:140:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  140 |         this->swap( m_pMemory, mem.m_pMemory );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:141:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  141 |         this->swap( m_nBlocks, mem.m_nBlocks );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:142:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  142 |         this->swap( m_nIndexMask, mem.m_nIndexMask );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:143:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  143 |         this->swap( m_nIndexShift, mem.m_nIndexShift );
      |         ~~~~  ^
../tier1/utlbuffer.cpp:1021:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
 1021 |         while ( c = *pFmt++ )
      |                 ~~^~~~~~~~~
../tier1/utlbuffer.cpp:1021:12: note: place parentheses around the assignment to silence this warning
 1021 |         while ( c = *pFmt++ )
      |                   ^
      |                 (          )
../tier1/utlbuffer.cpp:1021:12: note: use '==' to turn this assignment into an equality comparison
 1021 |         while ( c = *pFmt++ )
      |                   ^
      |                   ==
1 warning and 4 errors generated.

clang++: warning: argument unused during compilation: '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/' [-Wunused-command-line-argument]
In file included from ../tier1/utlsymbol.cpp:11:
In file included from ../public/tier1/utlsymbol.h:18:
In file included from ../public/tier1/utlrbtree.h:14:
../public/tier1/utlblockmemory.h:140:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  140 |         this->swap( m_pMemory, mem.m_pMemory );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:141:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  141 |         this->swap( m_nBlocks, mem.m_nBlocks );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:142:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  142 |         this->swap( m_nIndexMask, mem.m_nIndexMask );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:143:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  143 |         this->swap( m_nIndexShift, mem.m_nIndexShift );
      |         ~~~~  ^
4 errors generated.

clang++: warning: argument unused during compilation: '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/' [-Wunused-command-line-argument]
In file included from ../tier1/splitstring.cpp:8:
In file included from ../public/tier1/utlvector.h:25:
../public/tier1/utlblockmemory.h:140:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  140 |         this->swap( m_pMemory, mem.m_pMemory );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:141:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  141 |         this->swap( m_nBlocks, mem.m_nBlocks );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:142:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  142 |         this->swap( m_nIndexMask, mem.m_nIndexMask );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:143:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  143 |         this->swap( m_nIndexShift, mem.m_nIndexShift );
      |         ~~~~  ^
4 errors generated.

clang++: warning: argument unused during compilation: '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/' [-Wunused-command-line-argument]
In file included from ../tier1/strtools.cpp:73:
In file included from ../public/tier1/utldict.h:17:
In file included from ../public/tier1/utlmap.h:17:
In file included from ../public/tier1/utlrbtree.h:14:
../public/tier1/utlblockmemory.h:140:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  140 |         this->swap( m_pMemory, mem.m_pMemory );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:141:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  141 |         this->swap( m_nBlocks, mem.m_nBlocks );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:142:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  142 |         this->swap( m_nIndexMask, mem.m_nIndexMask );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:143:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  143 |         this->swap( m_nIndexShift, mem.m_nIndexShift );
      |         ~~~~  ^
4 errors generated.

clang++: warning: argument unused during compilation: '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/' [-Wunused-command-line-argument]
In file included from ../tier1/stringpool.cpp:8:
In file included from ../public/tier1/convar.h:21:
In file included from ../public/tier1/utlvector.h:25:
../public/tier1/utlblockmemory.h:140:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  140 |         this->swap( m_pMemory, mem.m_pMemory );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:141:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  141 |         this->swap( m_nBlocks, mem.m_nBlocks );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:142:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  142 |         this->swap( m_nIndexMask, mem.m_nIndexMask );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:143:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  143 |         this->swap( m_nIndexShift, mem.m_nIndexShift );
      |         ~~~~  ^
4 errors generated.

clang++: warning: argument unused during compilation: '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/' [-Wunused-command-line-argument]
In file included from ../tier1/utlbufferutil.cpp:11:
In file included from ../public/tier1/utlbufferutil.h:17:
In file included from ../public/tier1/utlvector.h:25:
../public/tier1/utlblockmemory.h:140:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  140 |         this->swap( m_pMemory, mem.m_pMemory );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:141:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  141 |         this->swap( m_nBlocks, mem.m_nBlocks );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:142:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  142 |         this->swap( m_nIndexMask, mem.m_nIndexMask );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:143:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  143 |         this->swap( m_nIndexShift, mem.m_nIndexShift );
      |         ~~~~  ^
4 errors generated.

clang++: warning: argument unused during compilation: '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/' [-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:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  140 |         this->swap( m_pMemory, mem.m_pMemory );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:141:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  141 |         this->swap( m_nBlocks, mem.m_nBlocks );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:142:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  142 |         this->swap( m_nIndexMask, mem.m_nIndexMask );
      |         ~~~~  ^
../public/tier1/utlblockmemory.h:143:8: error: no member named 'swap' in 'CUtlBlockMemory<T, I>'
  143 |         this->swap( m_nIndexShift, mem.m_nIndexShift );
      |         ~~~~  ^
4 errors generated.

Waf: Leaving directory `/Users/james/Desktop/source-engine/build'
Build failed
 -> task in 'tier1' failed with exit status 1: 
    {task 4402845120: cxx sparsematrix.cpp -> sparsematrix.cpp.32.o}
['/opt/homebrew/opt/llvm/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/', '-pthread', '-fsigned-char', '-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"', '-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/sparsematrix.cpp', '-c', '-o/Users/james/Desktop/source-engine/build/tier1/sparsematrix.cpp.32.o']
 -> task in 'tier1' failed with exit status 1: 
    {task 4402845904: cxx uniqueid.cpp -> uniqueid.cpp.32.o}
['/opt/homebrew/opt/llvm/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/', '-pthread', '-fsigned-char', '-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"', '-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/uniqueid.cpp', '-c', '-o/Users/james/Desktop/source-engine/build/tier1/uniqueid.cpp.32.o']
 -> task in 'tier1' failed with exit status 1: 
    {task 4402845680: cxx tier1.cpp -> tier1.cpp.32.o}
['/opt/homebrew/opt/llvm/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/', '-pthread', '-fsigned-char', '-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"', '-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/tier1.cpp', '-c', '-o/Users/james/Desktop/source-engine/build/tier1/tier1.cpp.32.o']
 -> task in 'tier1' failed with exit status 1: 
    {task 4402846128: cxx utlbuffer.cpp -> utlbuffer.cpp.32.o}
['/opt/homebrew/opt/llvm/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/', '-pthread', '-fsigned-char', '-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"', '-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/utlbuffer.cpp', '-c', '-o/Users/james/Desktop/source-engine/build/tier1/utlbuffer.cpp.32.o']
 -> task in 'tier1' failed with exit status 1: 
    {task 4402846464: cxx utlsymbol.cpp -> utlsymbol.cpp.32.o}
['/opt/homebrew/opt/llvm/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/', '-pthread', '-fsigned-char', '-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"', '-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/utlsymbol.cpp', '-c', '-o/Users/james/Desktop/source-engine/build/tier1/utlsymbol.cpp.32.o']
 -> task in 'tier1' failed with exit status 1: 
    {task 4402845232: cxx splitstring.cpp -> splitstring.cpp.32.o}
['/opt/homebrew/opt/llvm/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/', '-pthread', '-fsigned-char', '-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"', '-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/splitstring.cpp', '-c', '-o/Users/james/Desktop/source-engine/build/tier1/splitstring.cpp.32.o']
 -> task in 'tier1' failed with exit status 1: 
    {task 4402845456: cxx strtools.cpp -> strtools.cpp.32.o}
['/opt/homebrew/opt/llvm/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/', '-pthread', '-fsigned-char', '-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"', '-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/strtools.cpp', '-c', '-o/Users/james/Desktop/source-engine/build/tier1/strtools.cpp.32.o']
 -> task in 'tier1' failed with exit status 1: 
    {task 4402845344: cxx stringpool.cpp -> stringpool.cpp.32.o}
['/opt/homebrew/opt/llvm/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/', '-pthread', '-fsigned-char', '-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"', '-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/stringpool.cpp', '-c', '-o/Users/james/Desktop/source-engine/build/tier1/stringpool.cpp.32.o']
 -> task in 'tier1' failed with exit status 1: 
    {task 4402846240: cxx utlbufferutil.cpp -> utlbufferutil.cpp.32.o}
['/opt/homebrew/opt/llvm/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/', '-pthread', '-fsigned-char', '-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"', '-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/utlbufferutil.cpp', '-c', '-o/Users/james/Desktop/source-engine/build/tier1/utlbufferutil.cpp.32.o']
 -> task in 'tier0' failed with exit status 1: 
    {task 4402311056: cxx progressbar.cpp -> progressbar.cpp.31.o}
['/opt/homebrew/opt/llvm/bin/clang++', '-MMD', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/', '-pthread', '-fsigned-char', '-std=c++11', '-fpermissive', '-fPIC', '-Itier0', '-I../tier0', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-I/opt/homebrew/include', '-I/opt/homebrew/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"', '-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/james/Desktop/source-engine/lib/darwin/aarch64/\', \'-pthread\', \'-fsigned-char\']"', '-DWAF_LDFLAGS="[\'-fvisibility=hidden\', \'-pipe\', \'-fPIC\', \'-L/Users/james/Desktop/source-engine/lib/darwin/aarch64/\', \'-pthread\', \'-fsigned-char\']"', '-DTIER0_DLL_EXPORT=1', '../tier0/progressbar.cpp', '-c', '-o/Users/james/Desktop/source-engine/build/tier0/progressbar.cpp.31.o']
james@black-lagoon source-engine % 
elvodqa commented 2 weeks ago

I'm having the same problem as well. No clue on my side. I hope this issue gets noticed.

dimhotepus commented 2 weeks ago

Drop this-> before swap and retry.

elvodqa commented 2 weeks ago

Replace this->swap with this->Swap In Tier3, replace IsPrimaryAppSystem() with this->IsPrimaryAppSystem() This bunch of other things but there is a task that always fails. It currently fails at dmserializerbinary.cpp but I still haven't found an error within it. Task datamodel seems to be problem.

er2off commented 1 week ago

Task datamodel seems to be problem.

Oh, it's problem not only for csgo engine. I have fixes for this so I can backport.

er2off commented 1 week ago

Hm, I don't have these errors with Xcode beta (but on macOS Sonoma and for x86_64 target)

elvodqa commented 3 days ago

I too didn't have the issue on macOS Sonoma -- but I'm talking about macOS 15 for this issue. The problem might be a toolchain change but I'm not sure.

vova12021970 commented 13 hours ago

Problem with a building and another platforms (like a Android or FreeBSD) Cheked by er2off and me Its bug of clang 19