Dale Weiler
|
53e9ed0d96
|
Merge branch 'arithmetic_exceptions' into cooking
Conflicts:
doc/gmqcc.1
gmqcc.ini.example
opts.def
parser.c
|
2014-05-25 03:01:47 -04:00 |
|
Dale Weiler
|
6424ebaf98
|
Perliminary work on arithmetic exception handling in the constant evaluator. We can safely check for arithmetic underflow, overflow, divison by zero and inexactness now. Inexactness of expressions are propagated through the AST such that using an inexact value in a comparison will trigger a warning with -Winexact-compares.
|
2014-05-24 09:53:38 -04:00 |
|
Wolfgang Bumiller
|
8dafdfc5e2
|
use INSTR_STATE by default, add -femulate-state to switch to emulation, and -state-fps=NUM to set its emulation FPS
|
2014-04-08 14:34:55 +02:00 |
|
Dale Weiler
|
a934e0fe4b
|
Happy new year!
|
2014-01-01 06:24:16 -05:00 |
|
Dale Weiler
|
292c8150b4
|
Resolve undefined functions to compiler builtins if they exist.
|
2013-11-23 06:57:40 -05:00 |
|
Dale Weiler
|
b147602d78
|
Fix option string allocated/non allocated storage.
|
2013-10-16 20:14:49 -04:00 |
|
Dale Weiler
|
f53502c9ca
|
Make it valid C++ code, such that it can compile as C++ code.
|
2013-10-16 19:54:21 -04:00 |
|
Dale Weiler
|
87d9371a5c
|
Refactor some util/platform usage and extend file system file interface to accept its own flags and EOF
|
2013-10-11 06:12:56 -04:00 |
|
Dale Weiler
|
033cf7c7d3
|
More cleanups
|
2013-10-11 03:59:25 -04:00 |
|
Dale Weiler
|
12a864abf5
|
Some more platform / compiler specific code refactoring.
|
2013-10-11 03:02:38 -04:00 |
|
Dale Weiler
|
151606e255
|
Initial platform / compiler specific code refactoring.
|
2013-10-11 02:39:30 -04:00 |
|
Dale Weiler
|
90824c2093
|
Add seperate warning flag for directive in macro.
|
2013-09-30 15:59:36 -04:00 |
|
Dale Weiler
|
73eca0848c
|
Fix QuakeWorld compilation by treating assignment to constants as a warning when -std=qcc.
|
2013-09-24 07:31:53 -04:00 |
|
Dale Weiler
|
94e477e466
|
Added -progsrc commandline switch to specify progs.src files of different names. Cleaned up xonotic export script, fixed check-doc on linux systems by disabling mandoc check.
|
2013-09-12 17:06:20 -04:00 |
|
Dale Weiler
|
772dbfae26
|
Make it compile in visual studio again, without warnings.
|
2013-08-16 09:03:36 +00:00 |
|
Dale Weiler
|
1201f06a55
|
Remove vec_upload
|
2013-08-14 06:19:48 +00:00 |
|
Dale Weiler
|
d6ca5673dc
|
Use the _t consistency naming scheme. Also various cleanups.
|
2013-07-30 16:00:51 +00:00 |
|
Dale Weiler
|
a9ab865add
|
Move some things around
|
2013-07-30 15:32:24 +00:00 |
|
Dale Weiler
|
697ad9d3a7
|
Technically GCC was wrong here, since opts_ini_parse is guranteed to change error.
|
2013-07-21 21:51:34 +00:00 |
|
Dale Weiler
|
6db2e69f9a
|
Oh my god microsoft you suck
|
2013-06-20 11:20:56 +00:00 |
|
Dale Weiler
|
144672fada
|
Strict prototyping
|
2013-06-06 02:51:13 +00:00 |
|
Dale Weiler
|
11179a2a71
|
Major header reworking, this respects the namespaces properly. Makes object dependency more obvious, allows for better make caches, and prevents misuse of library features, i.e use con_* instead of printf.
|
2013-06-04 02:47:07 +00:00 |
|
Dale Weiler
|
0b6269f607
|
column printing for warnings and errors now
|
2013-05-30 19:36:01 +00:00 |
|
Wolfgang Bumiller
|
3a4aba0b31
|
Grrrr
|
2013-04-24 17:47:42 +02:00 |
|
Dale Weiler
|
489ad486bc
|
Get it compiling in visual studio again.
|
2013-04-24 01:43:53 +00:00 |
|
Dale Weiler
|
160e7cf7ee
|
Remove trailing whitespace
|
2013-04-21 10:24:55 +00:00 |
|
Dale Weiler
|
f2b21158d8
|
Rewrote memory tracking, now prints highest water mark (most used memory at a given time during compile). Changes all byte representation to MB representation. Added ability to print the contents of the leaked memory to the console when -debug is on (infact the lost messages only print during -debug), -memchk simply reports the memory info at the end (it is also printed when -debug). You can set the memory dump columns with -memdumpcols=# where # is the number of columns you want (default is 16)
|
2013-04-15 20:54:53 +00:00 |
|
Dale Weiler
|
752409417f
|
Remove one more external function
|
2013-04-14 01:29:50 +00:00 |
|
Dale Weiler
|
a25bd052d7
|
More function flatening
|
2013-04-14 01:16:35 +00:00 |
|
Dale Weiler
|
aebab8b68a
|
Push definitions when -O0
|
2013-02-25 08:52:17 +00:00 |
|
Dale Weiler
|
8d59d7029d
|
Cleanup cargocult directory and file specific things, to fs.c (renamed file.c which also contains directory handling stuff). Also cleaned up some stuff, and added proper end comments to conditional inclusion stuff.
|
2013-02-08 12:06:59 +00:00 |
|
Wolfgang Bumiller
|
46892daa3a
|
Reverting this awful unmaintainable mess of option description system
|
2013-02-04 00:19:56 +01:00 |
|
Wolfgang Bumiller
|
c41ef65cc9
|
Merge branch 'master' into cooking
|
2013-02-03 19:01:30 +01:00 |
|
Wolfgang Bumiller
|
95dd0fcd9f
|
Add -fdarkplaces-string-table-bug to the default flags
|
2013-02-03 19:01:27 +01:00 |
|
Dale Weiler
|
36c5722273
|
Rename
|
2013-01-30 05:35:07 +00:00 |
|
Dale Weiler
|
d201cfe6b4
|
Work in progress options cleanup.
|
2013-01-30 05:24:30 +00:00 |
|
Dale Weiler
|
480b2fc7b6
|
Added documentation to all options inside the binary itself. These will be used later for "man/nroff -man"-like documentation on OSs that lack "man" and the concept of system wide documentation. Also it will be nice to add -Wsome_warning help (to get some help about a specific warning/error, etc).
|
2013-01-30 02:56:58 +00:00 |
|
Dale Weiler
|
76614b311e
|
s/WARN_PREPROCESSOR/WARN_CPP/g (to stay somewhat compatible with gcc/clang warnings for the preprocessor)
|
2013-01-30 01:32:10 +00:00 |
|
Dale Weiler
|
d61172598e
|
Removed -Wcpp (not needed any more)
|
2013-01-30 01:26:51 +00:00 |
|
Wolfgang Bumiller
|
d12e6e15c9
|
-flegacy-vector-maths, enabled by default
|
2013-01-14 11:15:06 +01:00 |
|
Wolfgang Bumiller
|
3652a122ed
|
Removed -fenhanced-diagnostics - it's now --correct, which makes sense since it doesn't affect the compilation process itself
|
2013-01-12 17:10:07 +01:00 |
|
Wolfgang Bumiller
|
4f7113116d
|
-Wall now does not set -Wuninitialized-global
|
2013-01-09 20:39:17 +01:00 |
|
Dale Weiler
|
a395a20dba
|
close #76 implemented -Werror-some-warning section [errors] for the ini system.
|
2013-01-07 12:46:50 +00:00 |
|
Dale Weiler
|
7cc7e912e7
|
Enable corrector by default
|
2013-01-06 12:29:25 +00:00 |
|
Dale Weiler
|
ec4cd0d258
|
Disable enhanced diagnostics as they're too slow.
|
2013-01-04 12:26:44 +00:00 |
|
Dale Weiler
|
793547a132
|
Implemented -f[no]enhanced-diagnostics, to enable/disable the usage of enhanced diagnostics.
|
2013-01-04 12:07:42 +00:00 |
|
Dale Weiler
|
29db4a44ed
|
Happy new years!
|
2013-01-01 05:08:55 +00:00 |
|
Wolfgang Bumiller
|
d47da25b82
|
Changing -Wtoo-few-parameters to -Winvalid-parameter-count; removing hardcoded COMPILER_GMQCC code which makes invalid parameter counts an error and instead make -std=gmqcc imply -Werror-invalid-parameter-count
|
2012-12-31 12:29:25 +01:00 |
|
Wolfgang Bumiller
|
3538b505da
|
Activate -Wparenthesis by default
|
2012-12-31 11:14:24 +01:00 |
|
Dale Weiler
|
921877e8a4
|
Implement [[deprecated]] general attribute, will mark functions as deprecated. Making calls to functions marked as such will trigger a compiler warning. Enabled by default.
|
2012-12-30 06:43:07 +00:00 |
|