1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-22 09:38:56 +08:00
Commit Graph

82 Commits

Author SHA1 Message Date
Dora
4c27c1305c
suppress: void* memset(void*, int, size_t)’ clearing an object of type ‘class CThreadSpinRWLock’ with no trivial copy-assignment; use value-initialization instead (#212) 2024-05-13 07:48:20 -04:00
Nick Hastings
017abba661 Fix variant_t initialization order 2024-05-05 10:57:23 -04:00
sigsegv
78dab58646
Shebang-style executable files don't work with CR LF line endings... (#108) 2022-10-15 13:53:52 +00:00
sigsegv
d37768fc19
Fix even more build errors caused by c33f715: mathlib (#107)
This fixes the mathlib build, at least for me.

I didn't bother to fix code in e.g. raytrace or vgui_controls, so things
are almost certainly still broken in there.
2022-10-15 13:52:44 +00:00
Mohamed Amine "DS" Boussoubel
96df7cdd53
Some fixes for compilation errors (#59)
* Update imovehelper.h

* Update string_t.h

* Update imovehelper.h
2021-11-04 21:09:49 +00:00
sapphonie
c500a84be5 Fix "declaration of swap must be available"
Fixes
```../hl2sdk-sdk2013/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]
  141 |  swap( m_nBlocks, mem.m_nBlocks );
      |  ^~~~```
2021-10-06 18:59:54 -07:00
Ted Wang
f0aedc6359 Fixed tier1 compilation failure against clang 10.0.0. 2021-08-26 22:20:51 -07:00
Ted Wang
eea4d13b82 Fixed compilation of tier1 caused by min/max. 2021-08-26 22:20:51 -07:00
David Anderson
c33f7155e9 Fix conflicts with std::min/max. 2020-05-18 17:46:25 -07:00
David Anderson
46713a22a0
Merge pull request #57 from maximsmol/fix_mac_debug_werror
sdk2013: Mac: debug: fix compilation with -Werror
2019-03-26 12:04:39 +09:00
David Anderson
ab5972610c
Merge pull request #56 from maximsmol/fix_memdbg_on_mac
sdk2013: Fix memdbg on Mac
2019-02-24 10:29:13 -08:00
Maksim Smolin
1dccbadb93 use static_assert in COMPILE_TIME_ASSERT if compiler reports capability through __has_feature 2019-01-22 17:20:28 -08:00
Maksim Smolin
dba6cca973 silence unused typedef warning in COMPILE_TIME_ASSERT 2019-01-22 17:16:30 -08:00
Maksim Smolin
b6a573013e fix unused variable in utlblockmemory.h 2019-01-22 17:08:41 -08:00
Maksim Smolin
2d52e7127e fix utlstring trying to override memdbg on Mac debug builds 2019-01-22 16:59:27 -08:00
Maksim Smolin
8a7a0a5409 fix malloc.h missing from memdbgon.h on mac debug builds 2019-01-22 16:58:39 -08:00
Maksim Smolin
a0c8c381af fix DebuggerBreak warning on Mac debug builds 2019-01-22 16:10:18 -08:00
Nicholas Hastings
0ef5d3d482 Merge branch 'sdk2013' of https://github.com/alliedmodders/hl2sdk into sdk2013 2017-11-05 09:52:22 -05:00
Nicholas Hastings
8436bcd560 Recompile tier1 libraries. 2017-11-05 09:50:21 -05:00
Nicholas Hastings
7aa0a55e70 Fix Mac tier1 build. 2017-11-05 09:49:56 -05:00
Nicholas Hastings
537953200e
Fix crash saving KeyValues to file on games using older SDK 2013 version (#38)
Fixes https://github.com/alliedmodders/sourcemod/issues/666

The tier1 lib will need to be recompiled for all platforms as well.
2017-11-05 08:42:51 -05:00
Nicholas Hastings
245ba001b2 Bad shim to UtlBuffer::GetString for compat with other SDKs. 2017-10-28 09:31:48 -04:00
Nicholas Hastings
2ed625af40 Recompile mathlib. 2017-06-21 08:38:06 -04:00
Nicholas Hastings
d0c71a9eb7 Replace HushAsserts() calls in mathlib. Older SDK2013 mods don't have this. 2017-06-21 08:16:54 -04:00
Nicholas Hastings
210dc2073f Re-add Mac malloc.h fix lost in last merge. 2017-04-29 09:46:46 -04:00
Nicholas Hastings
fd5a970b2c Recompile tier1. 2017-04-29 09:29:59 -04:00
Nicholas Hastings
4ed8d23c39 Add back some fixes that got clobbered in sync again. 2017-04-28 07:16:29 -04:00
Geoffrey McRae
fd71bdcb17 [gcc] fixed out of order initializers (#33) 2017-03-26 11:10:42 -04:00
Nicholas Hastings
f71fa10c56 Add .gitignore. 2016-11-30 15:06:24 -05:00
Nicholas Hastings
282da21485 Recompile tier1 and mathlib. 2016-11-30 15:05:57 -05:00
Nicholas Hastings
3957adff10 Sync with upstream (Issue #30).
Recompiled tier1 and mathlib  for all platforms will come in next commit.
2016-11-30 10:01:15 -05:00
Nicholas Hastings
98fe5b5a34 Force KeyValues to use g_pMemAlloc where applicable for string alloc. 2015-07-12 15:25:35 -04:00
Nicholas Hastings
c6a0af0f3c Unsigned warning fix in public/tier1/byteswap.h 2015-04-23 21:20:35 -04:00
Nicholas Hastings
28b43b0624 Recompile Windows tier1 with VS2010. 2014-11-25 11:27:22 -05:00
Nicholas Hastings
12d384f0de Compat hacks for mods on old SDK Base. 2014-11-01 10:05:56 -04:00
Nicholas Hastings
37cd5ba0ae Recompile Windows tier1. 2014-10-30 13:43:03 -04:00
Nicholas Hastings
0bb45db464 Recompile OSX tier1. 2014-10-30 10:39:02 -07:00
Nicholas Hastings
5a6339710a Recompile linux tier1. 2014-10-30 10:20:30 -07:00
Nicholas Hastings
917a15eeb9 Add back some fixes that got clobbered in sync. 2014-10-30 13:13:30 -04:00
Nicholas Hastings
88961a1b35 Add back some fixes that got clobbered in sync. 2014-10-30 13:12:17 -04:00
Nicholas Hastings
2445f07be4 Add missing files from last sync. 2014-10-30 13:06:07 -04:00
Nicholas Hastings
5c7d90ed0f Add back some fixes that got clobbered in sync. 2014-10-30 12:53:45 -04:00
Nicholas Hastings
820616e9fc Merge branch 'sdk2013' of https://github.com/alliedmodders/hl2sdk into sdk2013 2014-10-30 12:32:51 -04:00
Nicholas Hastings
aa5841f220 Sync with latest source-sdk-2013. 2014-10-30 12:30:57 -04:00
Nicholas Hastings
6abc7fddca Remove libprotobuf from tree. 2014-10-30 12:30:18 -04:00
David Anderson
a72900cd1a Fix reorder warning in tier0/vprof.h. 2014-06-25 01:06:04 -07:00
David Anderson
ba938c001a Delete README.md 2014-05-27 01:22:11 -07:00
David Anderson
3c367af625 Create README.md 2014-05-27 00:10:03 -07:00
Scott Ehlert
287a038894 Re-enable __restrict modifier for GCC, Clang 3.4, or Apple Clang 5.1. 2014-03-10 22:36:34 -05:00
Scott Ehlert
d091fd2e17 Fix initialization order warning for GCC and Clang. 2014-02-28 16:10:02 -06:00