X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=doc%2Fgmqcc.1;h=185092e4c8c910a0bc13b4f01fdfa75cc32217b2;hp=f3f6517550a043a1a77164b9153fd49dbf692b26;hb=fac4e411bfeca94b3fac11d8e8a95788bed7ba74;hpb=f4f805f4c980f5e509447a965b4ef811c0741581 diff --git a/doc/gmqcc.1 b/doc/gmqcc.1 index f3f6517..185092e 100644 --- a/doc/gmqcc.1 +++ b/doc/gmqcc.1 @@ -327,10 +327,15 @@ it can happen that incompatible types are passed to functions. This enables several warnings when static typechecking cannot guarantee consistent behavior. .It Fl W Ns Cm breakdef -When compiling original id1 QC, there is a definition for `break` +When compiling original id1 QC there is a definition for `break` which conflicts with the 'break' keyword in GMQCC. Enabling this -warning will print a warning when the definition occurs. The -definition is ignored for both cases. +will print a warning when the definition occurs. The definition is +ignored for both cases. +.It Fl W Ns Cm const-overwrite +When compiling original QuakeWorld QC there are instances where +code overwrites constants. This is considered an error, however +for QuakeWorld to compile it needs to be treated as a warning +instead, as such this warning only works when -std=qcc. .El .Sh COMPILE FLAGS .Bl -tag -width Ds