Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jtippett opened this issue Sep 27, 2024 · 7 comments · May be fixed by #389
Open

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

jtippett opened this issue Sep 27, 2024 · 7 comments · May be fixed by #389

Comments

@jtippett
Copy link

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
Copy link

elvodqa commented Oct 6, 2024

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

@dimhotepus
Copy link
Contributor

Drop this-> before swap and retry.

@elvodqa
Copy link

elvodqa commented Oct 7, 2024

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
Copy link
Contributor

er2off commented Oct 13, 2024

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
Copy link
Contributor

er2off commented Oct 13, 2024

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

@elvodqa
Copy link

elvodqa commented Oct 18, 2024

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
Copy link

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

@er2off er2off linked a pull request Oct 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants