Skip to content

Known compiler bugs

Zeex edited this page Jan 9, 2014 · 25 revisions

The table contains a brief description of known compiler bugs and their current status.

Description Status
Returning string literals directly crashes the compiler Fixed
Using string literals as values in ternary operator results in a compile error Fixed
Initializing a global variable with the result of a function call crashes the compiler Fixed
Calling a native function with SYSREQ.C doesn't work if the function is not used Fixed
Compiler generates wrong function addresses for #emit code referencing functions Fixed
Lines cannot be longer than 512 chracters Fixed
Using the CALL instruction in #emit crashes the compiler Fixed
Compiler emits incorrect code if a function with tag result is used before it's forwarded Fixed
Inline assembly code following an if block gets merged with the code inside the block Not Fixed
Returning a string from a variadic function causes a run-time crash Fixed
Unrecognized assembly instructions crash the compiler Fixed

Based on Known Runtime/Compiler PAWN Bugs by Y_Less.

Clone this wiki locally