glua / gm_fshook Goto Github PK
View Code? Open in Web Editor NEWHooks into IFileSystem / IBaseFileSystem to hide files in Garry's Mod
Hooks into IFileSystem / IBaseFileSystem to hide files in Garry's Mod
Hello yes I get Error?!
==== Building gm_fs (release) ====
KeyValues.cpp
In file included from ../SourceSDK/src/public/tier1/utlvector.h:24:0,
from ../SourceSDK/src/public/tier1/KeyValues.h:25,
from ../SourceSDK/src/tier1/KeyValues.cpp:18:
../SourceSDK/src/public/tier1/utlblockmemory.h: In member function ‘void CUtlBlockMemory<T, I>::Swap(CUtlBlockMemory<T, I>&)’:
../SourceSDK/src/public/tier1/utlblockmemory.h:139:2: error: there are no arguments to ‘swap’ that depend on a template parameter, so a declaration of ‘swap’ must be available [-fpermissive]
swap( m_nBlocks, mem.m_nBlocks );
^~~~
../SourceSDK/src/public/tier1/utlblockmemory.h:139:2: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../SourceSDK/src/public/tier1/utlblockmemory.h:140:2: error: there are no arguments to ‘swap’ that depend on a template parameter, so a declaration of ‘swap’ must be available [-fpermissive]
swap( m_nIndexMask, mem.m_nIndexMask );
^~~~
../SourceSDK/src/public/tier1/utlblockmemory.h:141:2: error: there are no arguments to ‘swap’ that depend on a template parameter, so a declaration of ‘swap’ must be available [-fpermissive]
swap( m_nIndexShift, mem.m_nIndexShift );
^~~~
In file included from ../SourceSDK/src/public/tier1/utlvector.h:22:0,
from ../SourceSDK/src/public/tier1/KeyValues.h:25,
from ../SourceSDK/src/tier1/KeyValues.cpp:18:
../SourceSDK/src/tier1/KeyValues.cpp: In member function ‘int CKeyValuesGrowableStringTable::GetSymbolForString(const char*, bool)’:
../SourceSDK/src/public/tier0/threadtools.h:837:17: error: ‘typeof’ was not declared in this scope
AUTO_LOCK_( typeof(::strip_cv_quals_for_mutex(mutex)), mutex )
^
../SourceSDK/src/public/tier0/threadtools.h:827:14: note: in definition of macro ‘AUTO_LOCK_’
CAutoLockT< type > UNIQUE_ID( static_cast<const type &>( mutex ) )
^~~~
../SourceSDK/src/tier1/KeyValues.cpp:234:3: note: in expansion of macro ‘AUTO_LOCK’
AUTO_LOCK( m_mutex );
^~~~~~~~~
../SourceSDK/src/public/tier0/threadtools.h:837:17: note: suggested alternative: ‘feof’
AUTO_LOCK_( typeof(::strip_cv_quals_for_mutex(mutex)), mutex )
^
../SourceSDK/src/public/tier0/threadtools.h:827:14: note: in definition of macro ‘AUTO_LOCK_’
CAutoLockT< type > UNIQUE_ID( static_cast<const type &>( mutex ) )
^~~~
../SourceSDK/src/tier1/KeyValues.cpp:234:3: note: in expansion of macro ‘AUTO_LOCK’
AUTO_LOCK( m_mutex );
^~~~~~~~~
../SourceSDK/src/public/tier0/threadtools.h:827:19: error: template argument 1 is invalid
CAutoLockT< type > UNIQUE_ID( static_cast<const type &>( mutex ) )
^
../SourceSDK/src/public/tier0/threadtools.h:837:5: note: in expansion of macro ‘AUTO_LOCK_’
AUTO_LOCK_( typeof(::strip_cv_quals_for_mutex(mutex)), mutex )
^~~~~~~~~~
../SourceSDK/src/tier1/KeyValues.cpp:234:3: note: in expansion of macro ‘AUTO_LOCK’
AUTO_LOCK( m_mutex );
^~~~~~~~~
../SourceSDK/src/public/tier0/threadtools.h:837:17: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
AUTO_LOCK_( typeof(::strip_cv_quals_for_mutex(mutex)), mutex )
^
../SourceSDK/src/public/tier0/threadtools.h:827:50: note: in definition of macro ‘AUTO_LOCK_’
CAutoLockT< type > UNIQUE_ID( static_cast<const type &>( mutex ) )
^~~~
../SourceSDK/src/tier1/KeyValues.cpp:234:3: note: in expansion of macro ‘AUTO_LOCK’
AUTO_LOCK( m_mutex );
^~~~~~~~~
../SourceSDK/src/public/tier0/threadtools.h:837:17: error: expected ‘>’ before ‘typeof’
AUTO_LOCK_( typeof(::strip_cv_quals_for_mutex(mutex)), mutex )
^
../SourceSDK/src/public/tier0/threadtools.h:827:50: note: in definition of macro ‘AUTO_LOCK_’
CAutoLockT< type > UNIQUE_ID( static_cast<const type &>( mutex ) )
^~~~
../SourceSDK/src/tier1/KeyValues.cpp:234:3: note: in expansion of macro ‘AUTO_LOCK’
AUTO_LOCK( m_mutex );
^~~~~~~~~
../SourceSDK/src/public/tier0/threadtools.h:837:17: error: expected ‘(’ before ‘typeof’
AUTO_LOCK_( typeof(::strip_cv_quals_for_mutex(mutex)), mutex )
^
../SourceSDK/src/public/tier0/threadtools.h:827:50: note: in definition of macro ‘AUTO_LOCK_’
CAutoLockT< type > UNIQUE_ID( static_cast<const type &>( mutex ) )
^~~~
../SourceSDK/src/tier1/KeyValues.cpp:234:3: note: in expansion of macro ‘AUTO_LOCK’
AUTO_LOCK( m_mutex );
^~~~~~~~~
../SourceSDK/src/public/tier0/threadtools.h:827:56: error: expected primary-expression before ‘>’ token
CAutoLockT< type > UNIQUE_ID( static_cast<const type &>( mutex ) )
^
../SourceSDK/src/public/tier0/threadtools.h:837:5: note: in expansion of macro ‘AUTO_LOCK_’
AUTO_LOCK_( typeof(::strip_cv_quals_for_mutex(mutex)), mutex )
^~~~~~~~~~
../SourceSDK/src/tier1/KeyValues.cpp:234:3: note: in expansion of macro ‘AUTO_LOCK’
AUTO_LOCK( m_mutex );
^~~~~~~~~
make[1]: *** [gm_fs.make:131: obj/KeyValues.o] Error 1
make: *** [Makefile:24: gm_fs] Error 2
Thank
del
hello thsi doesnt work on mac fix plz bad dev!!!!!!!!!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.