-
Notifications
You must be signed in to change notification settings - Fork 87
Known compiler bugs
Zeex edited this page Sep 30, 2017
·
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 in ternary operator results in a compile error | Fixed |
| Calling a function at global scope crashes the compiler | Fixed |
| Calling an unused native function with SYSREQ.C doesn't work | Fixed |
| Function names are resolved to invalid addresses in #emit code | Fixed |
| Lines cannot be longer than 512 characters | Fixed? |
| Using the CALL instruction in #emit crashes the compiler | Fixed |
| Functions with tag result are skipped if used before forwarded | Fixed |
| Inline assembly following a conditional block becomes part of it | 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 ones in the current file | Fixed |
| The #file directive does not add files to debug info | Fixed |
| Conditional compilation doesn't work with #emit directives | Fixed |
Negative and floating-point numbers don't work in #emit
|
Fixed (#128, #133) |
| Global variables are omitted from AMX even when used without warning | Fixed |
Originally based on Known Runtime/Compiler PAWN Bugs by Y_Less.