florian
ecce39a3b2
+ throw a warning in ISO mode if a constant string is assigned to a char and the sizes do not match, resolves #38439
...
git-svn-id: trunk@48563 -
2021-02-09 20:48:27 +00:00
florian
3a0eb110ec
* FPC_VERSION => FPC_FULLVERSION
...
git-svn-id: trunk@48547 -
2021-02-08 21:41:04 +00:00
marco
59a16914f3
* sqrt is 4 characters long, noticed by Artlogic.
...
git-svn-id: trunk@48525 -
2021-02-08 09:16:13 +00:00
Károly Balogh
ada3d2050c
m68k: write inline floating point immediates as hex consts, instead of scientific notation. the scientific notation format parsing depends on the libc the assembler was linked against, which can lead to varying results and compile errors
...
git-svn-id: trunk@48524 -
2021-02-08 05:01:45 +00:00
Károly Balogh
d0178f7ae0
m68k: fix a_loadfpu_ref_reg to call a_loadfpu_reg_reg instead of a_load_reg_reg. made a_loadfpu_reg_reg internalerror on invalid target sizes when loading to a different reg size
...
git-svn-id: trunk@48523 -
2021-02-08 04:12:21 +00:00
Károly Balogh
77fee8b4eb
m68k: do not use OS_NO for FPU locations, but properly promote location sizes into the CG
...
git-svn-id: trunk@48522 -
2021-02-08 04:07:04 +00:00
florian
3e453f92fc
* statx based Sysutils.FileGetDate with handle fixed
...
+ test
git-svn-id: trunk@48520 -
2021-02-07 17:59:28 +00:00
florian
b08717fef6
* make statx based Sysutils.FileAge working with relative pathes
...
+ test
git-svn-id: trunk@48519 -
2021-02-07 17:41:27 +00:00
Jonas Maebe
91d877919e
* strip codesignature when comparing compiler binaries on Darwin
...
o fixes non-converging "make cycle" on macOS/AArch64 with DEBUG=1
git-svn-id: trunk@48518 -
2021-02-07 14:40:14 +00:00
florian
539a578cce
* create \index entries in the messages.inc for an index of message texts and numbers in the user manual
...
git-svn-id: trunk@48517 -
2021-02-06 16:59:02 +00:00
florian
b1f7fb4ba1
* test for already fixed issue #24434
...
git-svn-id: trunk@48516 -
2021-02-06 12:53:04 +00:00
nickysn
ae75c87d65
* synchronized with trunk
...
git-svn-id: branches/wasm@48515 -
2021-02-06 08:27:24 +00:00
florian
d0910b5ac8
* allow sub/add nodes in constant pointer expressions, resolves #34027
...
git-svn-id: trunk@48514 -
2021-02-05 22:10:27 +00:00
nickysn
cf3b883bce
* synchronized with trunk
...
git-svn-id: branches/wasm@48513 -
2021-02-04 21:34:40 +00:00
florian
91586331b5
* x86_64-linux: assembler helpers syscalls do not need a stackframe
...
git-svn-id: trunk@48512 -
2021-02-04 20:57:11 +00:00
nickysn
6f0a02a92d
+ apped end of symbol in TDebugInfoDwarf.afterappenddef
...
git-svn-id: branches/wasm@48510 -
2021-02-04 10:41:25 +00:00
nickysn
c073362928
- don't emit DEBUGSTART and DEBUGEND symbols for WebAssembly. See https://bugs.llvm.org/show_bug.cgi?id=48971
...
git-svn-id: branches/wasm@48509 -
2021-02-04 10:07:17 +00:00
florian
1e960a9aeb
* the size of the CIE_pointer in an FDE is always 32 bit
...
git-svn-id: trunk@48507 -
2021-02-03 20:05:56 +00:00
pierre
64bd8336f1
Fix compilation of linux unit with -dFPC_USE_LIBC option
...
git-svn-id: trunk@48504 -
2021-02-02 23:56:22 +00:00
florian
a67c184200
* test for already fixed issue #32139
...
git-svn-id: trunk@48501 -
2021-02-02 21:36:54 +00:00
nickysn
9de09f1d28
* synchronized with trunk
...
git-svn-id: branches/wasm@48498 -
2021-02-02 04:02:02 +00:00
Mattias Gaertner
d4d401b26d
fcl-passrc: resolver: include(intset,int)
...
git-svn-id: trunk@48497 -
2021-02-01 22:12:48 +00:00
florian
40b8bde305
* test for 32 bit targets fixed
...
git-svn-id: trunk@48496 -
2021-02-01 21:14:19 +00:00
florian
3922926d17
* disable new syscalls on android
...
git-svn-id: trunk@48495 -
2021-02-01 21:05:23 +00:00
michael
f2a4a9d0d4
* Specify mode
...
git-svn-id: trunk@48490 -
2021-02-01 13:16:20 +00:00
michael
f128e64ccb
* Some small improvements from Andrey Sobol: better specialization declaration in markdown, write more detailed end log
...
git-svn-id: trunk@48489 -
2021-02-01 13:15:05 +00:00
nickysn
d52e918fc8
* synchronized with trunk
...
git-svn-id: branches/wasm@48480 -
2021-02-01 01:13:27 +00:00
florian
b4a1c27c58
* renamed new syscall wrapper in linux to be consist with the others
...
git-svn-id: trunk@48479 -
2021-01-31 22:25:18 +00:00
svenbarth
d13838ac0b
+ add a test which ensures that a "const TVarData" parameter is passed as a reference.
...
This is required for Delphi compatibility as implementers of IVarInvokable or
inheritors of TInvokableVariantType need to modify the variant data by using
a pointer to the TVarData because it's passed as const and thus not modifyable
by itself.
This behavior is documented in so far as the C++ builder documentation shows
that the same parameter is implemented as "const&".
git-svn-id: trunk@48478 -
2021-01-31 21:23:29 +00:00
svenbarth
fe5b29c111
* fix for Mantis #38249 : apply adjusted patch by avk to implemnt CastTo handling when the source variant is a custom variant, but the destination type is not
...
+ added test (includes test for #20849 )
git-svn-id: trunk@48477 -
2021-01-31 20:26:26 +00:00
florian
90ba89a128
* linux: FileGetDate makes use of statx if needed
...
git-svn-id: trunk@48476 -
2021-01-31 18:38:50 +00:00
florian
ef04e3983f
* sysutils on linux uses only the new syscalls if the system has no suitable clong type
...
git-svn-id: trunk@48475 -
2021-01-31 18:20:01 +00:00
florian
c3656c6b1c
* fallback to fputime if fputimensat fails as not being available
...
git-svn-id: trunk@48474 -
2021-01-31 18:09:57 +00:00
florian
d402e0b940
* Y2K38 problem for linux in sysutils.findfirst/findnext should be solved
...
git-svn-id: trunk@48473 -
2021-01-31 18:02:55 +00:00
florian
b8ab06aae7
+ futimens syscall
...
* make use of futimens syscall in sysutils unit
+ tests
git-svn-id: trunk@48472 -
2021-01-31 17:12:39 +00:00
florian
e6f575d43c
+ make use of the fputimensat syscall on linux to enable always times beyond 32 bit
...
git-svn-id: trunk@48471 -
2021-01-31 16:43:53 +00:00
florian
0c77536f11
+ linux.fputimensat which properly uses the _tim64 version if needed and available
...
+ test
git-svn-id: trunk@48470 -
2021-01-31 16:24:47 +00:00
florian
33cd5778cd
* properly check for linux version supporting statx
...
git-svn-id: trunk@48469 -
2021-01-31 16:23:23 +00:00
florian
8b24d60df7
* removed accidently committed printnode
...
git-svn-id: trunk@48464 -
2021-01-31 13:19:55 +00:00
nickysn
f8b87e472d
* set eol-style=native and mime-type=text/plain to graph.tex
...
git-svn-id: trunk@48463 -
2021-01-31 11:08:21 +00:00
nickysn
cfc9838349
* fixed compilation of the embedded target
...
git-svn-id: branches/wasm@48462 -
2021-01-31 04:00:08 +00:00
florian
8496690ed0
* additional fix for r48449
...
git-svn-id: trunk@48461 -
2021-01-30 22:47:38 +00:00
nickysn
8b52969b62
* synchronized with trunk
...
git-svn-id: branches/wasm@48460 -
2021-01-30 22:29:44 +00:00
svenbarth
91050f14b6
+ add event to retrieve the logged messages in addition to writing them to the backend
...
git-svn-id: trunk@48459 -
2021-01-30 20:13:06 +00:00
svenbarth
dc48872552
+ add support for logging to StdOut or StdErr instead of a file or system output; if the specified output is not opened an exception will be thrown
...
git-svn-id: trunk@48458 -
2021-01-30 20:13:02 +00:00
florian
f39f8d0f1a
* linux: make use of statx in Sysutils.FileAge if available
...
git-svn-id: trunk@48457 -
2021-01-30 18:47:27 +00:00
florian
de62cb8b02
* do not execute xend twice which was introduced in r48430
...
git-svn-id: trunk@48456 -
2021-01-30 18:46:58 +00:00
michael
a90315c3a0
* Patch from Noel Duffy to implement DNS over TCP and test
...
git-svn-id: trunk@48455 -
2021-01-30 08:28:13 +00:00
nickysn
80d3a8d130
* synchronized with trunk
...
git-svn-id: branches/wasm@48453 -
2021-01-29 23:45:05 +00:00
florian
4bec57702f
* handle generic with ord call of sub-range and enumeration data excluding 0 correctly, resolves #38412
...
git-svn-id: trunk@48452 -
2021-01-29 21:31:59 +00:00