peter
bfca4e67fa
* -CO option to check for possible integer overflows
...
git-svn-id: trunk@8842 -
2007-10-18 19:55:22 +00:00
peter
1e123d66ba
* improved generics
...
git-svn-id: trunk@8838 -
2007-10-18 00:24:05 +00:00
peter
6434772c3c
* error message when a goto label is optimized away
...
git-svn-id: trunk@8837 -
2007-10-17 21:52:25 +00:00
Jonas Maebe
83bab3b071
+ documented -XR in the help pages
...
* specified OSes to which -Xr applies
git-svn-id: trunk@8834 -
2007-10-17 19:37:32 +00:00
Jonas Maebe
288a538df5
* don't allow starting new virtual trees in TP-style objects + test
...
* fixed bug in whlpview.pas where such an new tree was unintentially
started
git-svn-id: trunk@8422 -
2007-09-09 14:58:55 +00:00
peter
4b5a599309
* remove -gg and -gd options
...
* minor capitalization fixes from bug #9640
git-svn-id: trunk@8420 -
2007-09-09 14:24:30 +00:00
Jonas Maebe
488cfa3c32
+ -go<x> switch for debugging options (some global switches could be
...
moved to it)
+ -go[no]dwarfsets switch to [disable]/enable generation of dwarf set
information, as this breaks gdb < 6.5 (used to be disabled in the
compiler by an ifdef, still off by default)
git-svn-id: trunk@8414 -
2007-09-09 09:27:49 +00:00
Jonas Maebe
91629f810f
* better error messages for non-overloadable operators:
...
* only suggest = if the user tried to overload <>
* suggest ** if the user tried to overload ^ (mantis #9606 )
* no suggestion otherwise
(instead of always suggesting '=')
git-svn-id: trunk@8402 -
2007-09-08 10:49:16 +00:00
Jonas Maebe
21abdd2f4e
+ support for specifying the minimal precision for floating point
...
constants. The default is currently 32 bits/single, which corresponds
to the old behaviour (constants which cannot be exactly represented
in the default/chosen precision will also still be automatically
upgraded to higher precision). Supported constructs:
* Command line switch -CF<x>
* Compiler directive {$MINFPCONSTPREC <x>}
whereby in both cases <x> can be default, 32 or 64. 80 is not supported
because there is no generic way to figure out whether the current target
actually supports 80 bit precision floating point calculations while
parsing the command line switches (pbestreal can still change in case of
win64 or -Cfsse2)
git-svn-id: trunk@8349 -
2007-09-01 19:38:27 +00:00
Jonas Maebe
84ddacd017
+ support for creating a bundle instead of a library on Darwin (-Wb)
...
git-svn-id: trunk@8217 -
2007-08-03 12:42:49 +00:00
Jonas Maebe
f1f1299e97
* generalised -W description to "target-specific options"
...
* mention for each -W option to which targets it applies
* show all available -W options for all target architectures they apply to
* reworded some option descriptions
* all option descriptions now start with a capital for consistency
git-svn-id: trunk@8216 -
2007-08-03 12:13:27 +00:00
Jonas Maebe
a3c9dc5ec6
+ support for {$linkframework x} to link to framework x (Darwin only)
...
+ support for {$frameworkpath x} and -Ffx to add x to the directories to
search for frameworks (Darwin only)
git-svn-id: trunk@8165 -
2007-07-25 15:42:30 +00:00
michael
bedf0151cc
* Implemented support for custom RC compiler and .RES linker
...
git-svn-id: trunk@8164 -
2007-07-25 12:06:57 +00:00
florian
5e60b52f28
* ignore pic directive/switch if the platform doesn't support pic, resolves #9281
...
git-svn-id: trunk@8157 -
2007-07-23 20:25:04 +00:00
peter
67e16340be
* revert r8118
...
git-svn-id: trunk@8139 -
2007-07-22 19:59:00 +00:00
daniel
21293f5818
+ Add common type integer promotion.
...
- {$intpromotion common_type} or -CIcommon_type switches to common type promotion.
- {$intpromotion native_integer} or -CIcommon_type switches to current behaviour.
- Default in tp mode is common_type, native_integer in other modes
- Compiler can cycle with -CIcommon_type
- Still needs checking on other architectures than i386
git-svn-id: trunk@8118 -
2007-07-21 19:16:24 +00:00
florian
fa2a2b0bd0
* generics without specialization can't be used as a type, resolves #9225
...
git-svn-id: trunk@8116 -
2007-07-21 17:39:49 +00:00
Jonas Maebe
c6ffa724f3
* clarified pointer->integer warning
...
git-svn-id: trunk@7907 -
2007-07-01 15:27:21 +00:00
daniel
4ea8448c6d
+ Warn when converting pointers to signed types.
...
git-svn-id: trunk@7884 -
2007-07-01 09:05:11 +00:00
daniel
45832d4314
+ New hint; for exmaple int64:=longint+longint says "Converting the operands to
...
int64 before addition could prevent an overflow error."
git-svn-id: trunk@7817 -
2007-06-26 07:52:04 +00:00
florian
078f6e05fa
* typos corrected
...
git-svn-id: trunk@7653 -
2007-06-13 20:49:09 +00:00
daniel
b15740c0e5
- Remove -Mgpc from command line options.
...
git-svn-id: trunk@7637 -
2007-06-13 06:13:51 +00:00
florian
c7100799ed
+ forbid usage of $E on targets supporting no fpu emulation
...
- disabled -Cfsoft on i386
git-svn-id: trunk@7625 -
2007-06-10 17:03:26 +00:00
Jonas Maebe
20b99dade3
- reverted r7600, see additional comments in mantis #9027
...
git-svn-id: trunk@7606 -
2007-06-09 17:14:28 +00:00
Jonas Maebe
5a8679131f
+ support for new/dispose with extra size parameter in macpas mode
...
(mantis #9027 )
git-svn-id: trunk@7600 -
2007-06-08 18:02:31 +00:00
florian
7b519c1ce3
* prevent usage of units being compiled with different fpu emulation state
...
git-svn-id: trunk@7501 -
2007-05-28 16:18:35 +00:00
peter
b29e4ad12f
* add used by unit to can't find unit message
...
git-svn-id: trunk@7430 -
2007-05-23 13:40:27 +00:00
florian
9f56a89617
+ added cyrillic code page tables
...
+ support -Fm<x> to load unicode tables from rtl/ucmaps, they must be in the same dir as the compiler though
git-svn-id: trunk@7420 -
2007-05-22 19:38:39 +00:00
Jonas Maebe
de1af478c3
* do not allow passing properties as var parameters (mantis #8777 )
...
* do not allow assignments to fields of structured properties (e.g.
property prop: trec read frec; ... instance.prop.frec.a:=5)
* clarified some related error messages
+ several extra tests for the above and related things
git-svn-id: trunk@7250 -
2007-05-03 14:08:03 +00:00
florian
2eb40fc025
* forbid file types as function results
...
git-svn-id: trunk@7180 -
2007-04-28 18:32:03 +00:00
Jonas Maebe
96d1a246ee
* fixed typos (MacOS -> Mac OS)
...
git-svn-id: trunk@6932 -
2007-03-19 13:45:16 +00:00
florian
63523e8a7f
* regenerated
...
git-svn-id: trunk@6863 -
2007-03-14 21:14:13 +00:00
florian
fd392dc2b6
* allow inherited; calling abstract methods in delphi mode, resolves #5896
...
git-svn-id: trunk@6651 -
2007-02-25 18:46:10 +00:00
peter
bb33395686
* support public also for initialized variables
...
git-svn-id: trunk@6650 -
2007-02-25 17:51:28 +00:00
florian
301be02148
* forbid anonymous generic specializations
...
git-svn-id: trunk@6627 -
2007-02-24 10:06:53 +00:00
Jonas Maebe
c0e9782da9
* regenerated message text files with new stabs disabling message
...
git-svn-id: trunk@6200 -
2007-01-26 12:44:05 +00:00
Jonas Maebe
c866400823
+ support for VMTOFFSET in assembler readers to get VMT offset of virtual
...
methods (mantis #8153 )
git-svn-id: trunk@6168 -
2007-01-24 18:26:23 +00:00
florian
ad7e261a04
* forbid to take the address of a label defined outside of the current procedure
...
git-svn-id: trunk@5974 -
2007-01-14 19:21:37 +00:00
Jonas Maebe
c0eb91ffc8
* fixed error message for trying to assign to formal parameters and
...
to open arrays (mantis #8111 )
git-svn-id: trunk@5950 -
2007-01-13 18:20:06 +00:00
florian
76dc5ab588
+ support of -fPIC (is equivalent to -Cg) so people won't be confused if ld tells them to recompile their code with -fPIC
...
git-svn-id: trunk@5934 -
2007-01-12 22:27:20 +00:00
florian
2ccba3604c
* fixed generation of constants containing a vmt
...
* better error message if such a construct is used in fpc where it isn't allowed
git-svn-id: trunk@5838 -
2007-01-07 10:39:06 +00:00
Jonas Maebe
efd1e86418
* give a verbose fatal error instead of an internalerror when a required
...
system unit type is not found
git-svn-id: trunk@5820 -
2007-01-05 19:43:28 +00:00
florian
a2ec2e72b6
* better hint about abstract methods (fixes 5098)
...
+ code generation for invoking dispinterface methods
* small dispinterface problems fixed
git-svn-id: trunk@5798 -
2007-01-03 19:14:31 +00:00
florian
c4d96ec538
* only non generic types can be used when specializing generics, fixes 7735
...
git-svn-id: trunk@5754 -
2006-12-30 21:51:24 +00:00
pierre
fc66d46beb
+ added several warnings about use of references
...
involving (%ebp) or (%esp) in assembler code.
Useful to track code that might suffer from regcall
convention.
git-svn-id: trunk@5736 -
2006-12-29 09:37:15 +00:00
Jonas Maebe
f308bfb45c
* fixed mantis 6686 ("function a;" without prior definition of "a"
...
accepted in Delphi mode + extra test case where something similar
has to succeed)
git-svn-id: trunk@5698 -
2006-12-24 10:48:49 +00:00
tom_at_work
949aa60805
* DWARF debug lineinfo reader
...
git-svn-id: trunk@5632 -
2006-12-17 23:11:25 +00:00
Jonas Maebe
9e60d6791d
* show name of procedure/function called with too few parameters
...
git-svn-id: trunk@5522 -
2006-12-01 20:15:57 +00:00
florian
d47dc38f2c
* ignore PIC directive on windows and warn about it
...
git-svn-id: trunk@5479 -
2006-11-25 22:58:52 +00:00
florian
43ba7cfe6f
* correct name of set packing directive is PACKSET
...
git-svn-id: trunk@5313 -
2006-11-10 19:56:19 +00:00