Y_Less
c565a5d1df
Revert "Merge branch 'master' of github.com:pawn-lang/compiler into HEAD"
...
This reverts commit 5400511d8616964ddf2c78bb65e72dfc23fa3a25, reversing
changes made to 2e15e645e687bc0ad4a210963de0bfadc56d48fc.
2018-10-30 22:51:21 +01:00
Alex "Y_Less" Cole
5400511d86
Merge branch 'master' of github.com:pawn-lang/compiler into HEAD
2018-10-30 22:43:31 +01:00
Alex "Y_Less" Cole
6aa8ee88ab
Fix Linux .
2018-10-30 22:41:36 +01:00
Alex "Y_Less" Cole
0f52113413
Added __LINUX__ define in amxfile.c
2018-10-28 22:32:29 +01:00
Daniel_Cortez
9d5f82ed6c
amxaux.c: Get rid of a goto statement
2018-09-07 02:06:06 +07:00
Daniel_Cortez
912c45c968
amxaux.c: Don't forget to close the program file before returning
2018-09-06 23:36:27 +07:00
Zeex
23d35625fd
Fix Clang warnings/errors
2018-08-12 02:19:51 +06:00
Zeex
44312b9653
Fix build errors on Linux
2018-08-11 23:50:58 +06:00
Zeex
357cd6f43b
Fix build errors on Linux
2018-08-11 23:41:46 +06:00
Zeex
16995c5ee1
Whitespace cleanup
2018-08-11 23:12:45 +06:00
Zeex
0a574d5f25
Remove CTest and add a top-level CMakeLists.txt
2018-08-11 20:03:37 +06:00
Y_Less
6ee6a43dd7
Back-ported some PAWN 4 natives and features.
2018-02-25 19:38:14 +00:00
Zeex
8847c300f1
Fix compile warnings in pawndisasm
2017-12-30 19:26:48 +06:00
Zeex
8fe5558d7e
Remove amx.c from pawndisasm's sources
...
We don't need the whole AMX in order to compile pawndisasm, only a handful of
alignment functions (amx_AlignXXX) that are used in amxdbg.c. Just copy those
functions to amxdbg.
As a bonus, we don't have to fix compile warnings in amx.c now. (maybe somebody
will fix them some day in a distant future...)
2017-12-30 19:26:06 +06:00
Zeex
13f98d5934
CMake cleanup
2015-04-07 19:26:10 +06:00
Zeex
05fb325dd1
True warning fix
2015-04-07 19:09:43 +06:00
Zeex
c2f59e54d9
Fix Borland build
...
Apparently UIN16_MAX was defined somewhere in stdint.h on other
compilers but BCC 5.5 doesn't have that.
2015-04-06 17:26:23 +06:00
Zeex
aef6d6d252
Fix CMake warning (COPY_ONLY -> COPYONLY)
2015-04-06 17:07:58 +06:00
Zeex
a2a8039e69
Fix debug header size miscalculation
2015-04-05 01:39:44 +06:00
Zeex
568c277b03
Fix unused fread() return value warnings
2015-04-05 01:39:44 +06:00
Zeex
0a146f7344
Set project language to C
...
check_function_exists() tried to use a C++ compiler for some odd reason,
so I've set the language to C explicitly. This shouldn't hurt in theory,
since we don't use C++.
2015-04-04 23:25:41 +06:00
Zeex
6e8319d4f4
Don't strip symbols
...
Really, why do this?
2015-04-04 18:14:32 +06:00
Oscar Broman
8afb73c00c
make it compile on OS X
2015-04-04 17:54:00 +06:00
Zeex
eeefc4ba3b
Fix compile warnings
2015-04-02 15:58:00 +06:00
Zeex
c36b495c36
Modernize CMakeLists.txt
2015-04-02 15:21:08 +06:00
Zeex
8bb8671f1e
pawndisasm: Fix crash when loading debug info
...
This complements commit 8383e5bbbf0ead53ce198cca276eba441535ca59.
Fixes #38 .
2014-12-22 23:27:49 +06:00
Zeex
8383e5bbbf
pawndisasm: Add amxdbg fixes from crashdetect
...
* Add missing amx_Align() call in dbg_LoadInfo()
* Work around AMX_DBG_HDR.lines overflow
* Work around a compiler with @name forwards in dbg_LookupFunction()
2014-12-21 17:11:46 +06:00
Zeex
5ecee7c582
Normalize line endings
2014-01-12 13:50:41 +07:00
Zeex
8324d8aba6
Revert "Add '/' as a portable path separator for #include"
...
This reverts commit b9050b452a7ec7ca27be8bc55e00594e279e3fa4.
2014-01-07 00:10:47 +07:00
Zeex
b9050b452a
Add '/' as a portable path separator for #include
...
This fixes a bug where if you use '/' in an #include directive on Windows
the _inc_XXX symbol will contain not only the file name but also its path
as the compiler didn't count '/' as a path separator.
2014-01-07 00:04:59 +07:00
Zeex
c316b6d3be
Fix CMake warnings
2013-12-27 18:52:21 +07:00
Zeex
79f2031cab
Revert breaking changes
...
It looks like I accidentally applied not_samp_compatible patches before
uploading the code.
2013-09-22 22:06:20 +07:00
Zeex
766b96bcf3
Lower case directory names
2013-09-19 13:06:46 +07:00