From: Wolfgang Bumiller Date: Mon, 24 Dec 2012 10:01:24 +0000 (+0100) Subject: manpage: -fftepp-predefs X-Git-Tag: before-library~507 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=55dc45ec3e1262d72c65041a799ce9f23ca4292e;p=xonotic%2Fgmqcc.git manpage: -fftepp-predefs --- diff --git a/doc/gmqcc.1 b/doc/gmqcc.1 index 8c30d8d..342d995 100644 --- a/doc/gmqcc.1 +++ b/doc/gmqcc.1 @@ -262,6 +262,23 @@ Enable a partially fteqcc-compatible preprocessor. It supports all the features used in the Xonotic codebase. If you need more, write a ticket. .TP +.B -fftepp-predefs +Enable some predefined macros. This only works in combination with +\'-fftepp' and is currently not included by '-std=fteqcc'. The +following macros will be added: +.in +4 +.nf +__LINE__ +__FILE__ +__COUNTER__ +__COUNTER_LAST__ +__RANDOM__ +__RANDOM_LAST__ +.fi +.in +Note that fteqcc also defines __FUNC__, __TIME__, __DATE__ and +__NULL__, which are not yet implemented. +.TP .B -frelaxed-switch Allow switch cases to use non constant variables. .TP @@ -399,6 +416,10 @@ Here's an example: .fi .in .SH BUGS +Currently the '-fftepp-predefs' flag is not included by '-std=fteqcc', +partially because it is not entirely conformant to fteqcc. +.sp + Please report bugs on , or see on how to contact us. .SH FILES