-
Notifications
You must be signed in to change notification settings - Fork 89
Known compiler bugs
Zeex edited this page Aug 31, 2014
·
46 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 a function call crashes the compiler | Fixed |
| Calling unused native functions with SYSREQ.C doesn't work | Fixed |
| Function names resolve to invalid addresses in #emit code | Fixed |
| Lines cannot be longer than 512 chracters | Fixed? |
| Using the CALL instruction in #emit crashes the compiler | Fixed |
| Functions with tag result omitted if used before they are forwarded | Fixed |
| Inline assembly code following a conditional block is not jumped over | Unresolved |
| Returning a string from a variadic function causes a run-time crash | Fixed |
| Unrecognized assembly instructions crash the compiler | Fixed |
| find_symbol() prefers global symbols over those in the current file | Fixed |
| The #file directive does not add files to debug info | Fixed |
| Preprocessor conditionals do not affect #emit directives | Fixed |
Based on Known Runtime/Compiler PAWN Bugs by Y_Less.
Note: This table does not include bugs that are not found in the official SA-MP compiler.