Skip to content

Fb Build Sha1

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

Home › Intrinsic Defines › FB_BUILD_SHA1

FB_BUILD_SHA1

Intrinsic define (macro string) set by the compiler

Syntax

__FB_BUILD_SHA1__

Description

Substituted by a string of the compiler's source SHA-1 revision. The value is set using the SHA-1 commit id of the source code revision used to build the compiler binary, if available. If the SHA-1 was not available at the time of building the compiler, the value will be an empty string.

Remarks

Differences from QB

  • New to FreeBASIC

Examples

Print __FB_BUILD_SHA1__


Category: Intrinsic Defines
Kind: keyword


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