Skip to content

Compiler Option Elocation

Paul Squires edited this page Oct 14, 2026 · 3 revisions

Home › Compiler Option: -elocation

Compiler Option: -elocation

Enable full error location reporting

Syntax

-elocation

Description

The -elocation compiler option enables full location reporting in run-time code generation.

-elocation is automatically implied by the -exx option.

__FB_ERR__ can be used to determine in user source code if the -elocation option was specified or implied on the command line.

Note: the intent of this option is for a future compiler feature to optimize out some of the error tracking code associated with error location reporting. When implemented, only -exx or -elocation will enable the full error location reporting and will be optimized away otherwise.

Version

See also


Reproduced from the FreeBASIC Wiki Manual under the GNU Free Documentation License 1.3 — with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. Copyright © the FreeBASIC project and wiki contributors. See License.

Clone this wiki locally