Commit graph

69 commits

Author SHA1 Message Date
Dale Weiler
6a44b72db3 Mask ftepp math constants with a compiler flag 2013-12-01 10:45:43 -05:00
Dale Weiler
292c8150b4 Resolve undefined functions to compiler builtins if they exist. 2013-11-23 06:57:40 -05:00
Dale Weiler
2ebf571129 Update documentation 2013-09-30 16:03:22 -04:00
Wolfgang Bumiller
fa14ca93d2 Merge branch 'master' into cooking 2013-09-30 15:02:03 +02:00
Anton Balashov
e928cabfb2 Fixed hyphen-used-as-minus-sign in gmqcc.1
Accortding to lintian report:
I: gmqcc: hyphen-used-as-minus-sign usr/share/man/man1/gmqcc.1.gz:156
N:
N:    This manual page seems to contain a hyphen where a minus sign was
N:    intended. By default, "-" chars are interpreted as hyphens (U+2010) by
N:    groff, not as minus signs (U+002D). Since options to programs use minus
N:    signs (U+002D), this means for example in UTF-8 locales that you cannot
N:    cut and paste options, nor search for them easily. The Debian groff
N:    package currently forces "-" to be interpreted as a minus sign due to
N:    the number of manual pages with this problem, but this is a
N:    Debian-specific modification and hopefully eventually can be removed.
N:
N:    "-" must be escaped ("\-") to be interpreted as minus. If you really
N:    intend a hyphen (normally you don't), write it as "\(hy" to emphasise
N:    that fact. See groff(7) and especially groff_char(7) for details, and
N:    also the thread starting with
N:    http://lists.debian.org/debian-devel/2003/debian-devel-200303/msg01481.html
N:
N:    If you use some tool that converts your documentation to groff format,
N:    this tag may indicate a bug in the tool. Some tools convert dashes of
N:    any kind to hyphens. The safe way of converting dashes is to convert
N:    them to "\-".
N:
N:    Because this error can occur very often, Lintian shows only the first 10
N:    occurrences for each man page and give the number of suppressed
N:    occurrences. If you want to see all warnings, run Lintian with the
N:    -d/--debug option.
N:
N:    Refer to /usr/share/doc/groff-base/README.Debian and the groff_char(7)
N:    manual page for details.
N:
N:    Severity: wishlist, Certainty: possible
N:
N:    Check: manpages, Type: binary
N:
I: gmqcc: hyphen-used-as-minus-sign usr/share/man/man1/gmqcc.1.gz:354
I: gmqcc: hyphen-used-as-minus-sign usr/share/man/man1/gmqcc.1.gz:676
2013-09-30 16:43:57 +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
Rudolf Polzer
f4f805f4c9 New options: -ftypeless-stores and -fsort-operands
These flags reduce entropy, but not size, of the generated assembly
code. This helps compressability of the files.

Additionally, -ftypeless-stores might SLIGHTLY improve engine
performance due to less instructions being used (so branch prediction
might work better). Probably cannot be measured though.

Signed-off-by: Rudolf Polzer <divverent@xonotic.org>
2013-08-27 09:55:00 +02:00
Dale Weiler
b30c3ff8d4 Update documentation 2013-08-16 08:16:03 +00:00
Dale Weiler
6f749d61b1 Added -Oconst-fold-dce (dead code elimination optimization for when constant expressions form the basis of the dead code, i.e if else with constant expression). Fixed deps and added documentation. Cleaned up folds for ir_value (can now use the same macros as the ast_value ones). 2013-08-01 07:07:59 +00:00
Wolfgang Bumiller
f78d653b1e manpage update 2013-06-15 09:46:44 +02:00
Dale Weiler
1b71caa1fe Update man page 2013-05-29 11:29:52 +00:00
Wolfgang Bumiller
b9fb29d740 manpage and ini update 2013-04-25 19:17:58 +02:00
Wolfgang Bumiller
1a915c7bf7 manpage: document and explain __FUNC__ and __NULL__ 2013-04-24 17:42:48 +02:00
Wolfgang Bumiller
2343e13c45 updating the manpage 2013-04-21 12:23:54 +02:00
Wolfgang Bumiller
ea15abada5 manpage: removed -Wpreprocessor 2013-01-31 22:23:29 +01:00
Wolfgang Bumiller
622c55f254 converted qcvm.1 to mdoc 2013-01-31 22:15:01 +01:00
Wolfgang Bumiller
4500facb2b manpage: wrong date 2013-01-26 14:44:00 +01:00
Wolfgang Bumiller
ef0de47954 Converting gmqcc.1 from man to mdoc style. It can produce nice html output so we can create an online version of the manpage which doesn't look like crap... still todo: qcvm.1 2013-01-24 22:23:49 +01:00
Wolfgang Bumiller
32f1a5d2c8 manpage: fixing a .TP/.B mixup 2013-01-24 12:56:38 +01:00
Wolfgang Bumiller
11450c11d1 manpage: -E was missing all that time in there 2013-01-15 22:08:15 +01:00
Wolfgang Bumiller
0962dfdd4d manpage: -flegacy-vector-maths 2013-01-14 11:16:49 +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
127cc5215b manpage: -fvariadic-args 2013-01-12 16:31:51 +01:00
Wolfgang Bumiller
5231279113 manpage: --add-info 2013-01-11 19:23:03 +01:00
Wolfgang Bumiller
cf676443cb manpage: updating the section about nil vs fteqcc-__NULL__ 2013-01-10 15:41:36 +01:00
Wolfgang Bumiller
06101d48e4 manpage: A note about __NULL__ vs nil 2013-01-09 21:54:36 +01:00
Wolfgang Bumiller
96126b435a manpage: __DATE__, __TIME__ predefs 2013-01-09 21:32:17 +01:00
Wolfgang Bumiller
704ddf94f8 manpage: Document change to -Wall 2013-01-09 20:41:12 +01:00
Wolfgang Bumiller
5134673461 manpage: bring the list of included -f and -W flags for each described -std up to date 2013-01-06 20:50:18 +01: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
f698e796d2 manpage: -Wparenthesis 2012-12-31 11:14:34 +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
Wolfgang Bumiller
64ccc88a9e manpage: -Wdifferent-qualifiers -Wdifferent-attributes 2012-12-29 17:41:20 +01:00
Wolfgang Bumiller
3d67b29a7b manpage: -Ovector-components 2012-12-29 15:10:04 +01:00
Wolfgang Bumiller
898e00f5b4 manpage: -Wuninitialized-constant -Wuninitialized-global 2012-12-28 19:11:29 +01:00
Wolfgang Bumiller
dae1291b37 manpage: -Wreserved-names, -funtyped-nil, -fpermissive 2012-12-28 18:27:34 +01:00
Wolfgang Bumiller
fb30f11bc1 manpage: -floop-labels 2012-12-28 00:21:59 +01:00
Wolfgang Bumiller
24752b5fd1 manpage: -fbail-on-werror 2012-12-27 12:48:36 +01:00
Wolfgang Bumiller
babdebee79 Merge pull request #75 from matthiaskrgr/master
mention PKGBUILDs in INSTALL file, fix typo in manpage
2012-12-27 02:06:04 -08:00
Wolfgang Bumiller
3f8f2b3f48 manpage: -Oglobal-temps 2012-12-26 23:20:49 +01:00
matthiaskrgr
3d9760473b manpage: gmqcc: fix typo 2012-12-26 22:03:08 +01:00
Wolfgang Bumiller
365fe400b0 manpage: -dump, -dumpfin 2012-12-26 19:37:55 +01:00
Wolfgang Bumiller
456e80a7d5 manpage: -Ovoid-return 2012-12-26 10:28:01 +01:00
Wolfgang Bumiller
1172e2b8cc manpage: -Ocall-stores 2012-12-25 23:28:09 +01:00
Wolfgang Bumiller
35ba2dcaf9 The very aggressive -Ooverlap-strings 2012-12-25 20:38:05 +01:00
Wolfgang Bumiller
c3dfe2c61c manpage: -q, --quiet 2012-12-24 11:03:34 +01:00
Wolfgang Bumiller
55dc45ec3e manpage: -fftepp-predefs 2012-12-24 11:01:24 +01:00
Wolfgang Bumiller
6a93b72ea5 -Ostrip-constant-names 2012-12-23 22:58:46 +01:00
Wolfgang Bumiller
6a60368a1b -Olocaltemps -> -Olocal-temps for consistency; added manpage entry; removed leftover manpage entry for -foverlap-locals; -Olocal-temps moved from -O1 to -O3 due to stability concerns 2012-12-23 21:39:23 +01:00
Wolfgang Bumiller
2967dba7ad manpage: remove the MUL_FV/VF section, it wouldn't be legal code anyway 2012-12-23 17:50:44 +01:00