The sources of the Free Pascal compiler, RTL, packages and utilities. See https://www.freepascal.org/ for more info.
Go to file
Kai Burghardt 5307ef07c4 bypass realinteger conversion → real promotion in dateUtils.dateOf
The `dateUtils.dateOf` function takes one `tDateTime` value, a `real` value,
converts it to an `integer` using `trunc`, and then the value is automatically
promoted to a `real` value again (because of result data type `tDateTime`).

This is unnecessary (unless an error is the desired behavior).
You can use just `system.int` to obtain the integral (= date) part of `tDateTime`.
2023-10-11 23:05:33 +02:00
.gitlab
compiler * correctly name nested enum type debug symbols, resolves 2023-10-10 23:16:31 +02:00
installer Fix compilation of go32v2 installer by regenerating Makefile using latest fpcmake 2023-10-04 21:55:27 +00:00
packages bypass realinteger conversion → real promotion in dateUtils.dateOf 2023-10-11 23:05:33 +02:00
rtl Add also DOSDIR and CLASSESDIR 2023-10-09 11:38:14 +02:00
tests * correctly name nested enum type debug symbols, resolves 2023-10-10 23:16:31 +02:00
utils Commit new revision.inc 2023-09-25 21:04:36 +00:00
.gitattributes
.gitconfig
.gitignore ignore compiled files 2023-07-13 08:42:07 +02:00
.gitlab-ci.yml
fpmake_add1.inc
fpmake_proc1.inc
fpmake.pp
LICENSE
Makefile Update fpcsrc level Makefile using lakest trunk fpcmake utility 2023-09-24 21:14:20 +00:00
Makefile.fpc add ppsuf so that we can compiler loongarch fpc now 2023-02-05 19:18:48 +00:00
README.md

FPC Source code repository

Synopsis

This repository contains the sources of the Free Pascal compiler distribution.

It contains

  • The compiler sources in the directory compiler.
  • The run-time library in the directory rtl.
  • The packages distributed with the compiler in the directory packages.
  • Several utilities in the directory utils.
  • The compiler testsuite in the directory tests.

License

The compiler is licensed under GPL v2, the run-time files are licensed under modified LGPL. Both can be found in the LICENSE file, and the file rtl/COPYING.txt

Documentation

Extensive documentation can be found on the documentation website.