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
michael
61dae2cf4f
* Patch from Ido Kanner to update translations
...
git-svn-id: trunk@8098 -
2007-07-18 21:12:15 +00:00
florian
fe59d1fe9e
* updates from Karl-Michael Schindler
...
git-svn-id: trunk@7916 -
2007-07-01 21:04:33 +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
af352cda24
Merged revisions 7586 via svnmerge from
...
http://svn.freepascal.org/svn/fpc/branches/ssa/compiler
........
r7586 | florian | 2007-06-05 20:19:26 +0200 (Di, 05 Jun 2007) | 1 line
* updates from Karl-Michael Schindler
........
git-svn-id: trunk@7587 -
2007-06-05 18:22:54 +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
michael
001ba5de84
* Applied patch from Ido Kanner
...
git-svn-id: trunk@7446 -
2007-05-24 07:42:39 +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
florian
85406e8a15
* updates from Karl-Michael Schindler
...
git-svn-id: trunk@7295 -
2007-05-07 12:02:32 +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
Tomas Hajny
81a711881d
* added missing word in message explanation
...
git-svn-id: trunk@7186 -
2007-04-29 09:48:53 +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
6b414c3e89
* "too much registers" -> "too many registers"
...
git-svn-id: trunk@7014 -
2007-03-28 13:17:38 +00:00
Jonas Maebe
96d1a246ee
* fixed typos (MacOS -> Mac OS)
...
git-svn-id: trunk@6932 -
2007-03-19 13:45:16 +00:00
florian
173e023e22
* german and english error file updates from Karl-Michael Schindler
...
git-svn-id: trunk@6862 -
2007-03-14 21:13:31 +00:00
Tomas Hajny
a62c2da154
* updates from Ido Kanner - synchronized with errore.msg r6685
...
git-svn-id: trunk@6707 -
2007-03-03 22:13:42 +00:00
Tomas Hajny
b512e234c9
* updates from Ido Kanner - synchronized with errore.msg r6685
...
git-svn-id: trunk@6706 -
2007-03-03 22:13:29 +00:00
michael
6397ad6909
* Proper LaTeX environment ending
...
git-svn-id: trunk@6685 -
2007-02-28 21:29:45 +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
Tomas Hajny
b130d4f30e
* final period removed from -gp message
...
git-svn-id: trunk@6647 -
2007-02-25 16:55:34 +00:00
Jonas Maebe
358546ec2f
* optimisatie/optimizatie/optimalizatie -> optimalisatie
...
* synchronised info regarding optimization switches with English version
git-svn-id: trunk@6640 -
2007-02-25 14:34:37 +00:00
daniel
4fc3703900
* Spelling improved.
...
git-svn-id: trunk@6638 -
2007-02-25 09:23:05 +00:00
florian
301be02148
* forbid anonymous generic specializations
...
git-svn-id: trunk@6627 -
2007-02-24 10:06:53 +00:00
michael
651c5c3b8c
* Applied patch to preserve case in stabs info (-gp)
...
git-svn-id: trunk@6612 -
2007-02-23 10:43:42 +00:00
florian
247a8b2698
* indoniesan language update by Zaenal Mutaqin
...
git-svn-id: trunk@6364 -
2007-02-07 20:28:54 +00:00
michael
644795c316
* Improved hebrew translations from Ido Kanner
...
git-svn-id: trunk@6326 -
2007-02-03 19:53:26 +00:00
pierre
b172694e82
+ new warning for assembler that does not support debug information
...
git-svn-id: trunk@6194 -
2007-01-26 05:04:07 +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
Jonas Maebe
1fb6bc1cba
* updated copyright message for 2007
...
git-svn-id: trunk@6059 -
2007-01-18 21:51:54 +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
peter
1b4775d46c
* more tex fixes
...
git-svn-id: trunk@5851 -
2007-01-08 17:00:38 +00:00
peter
b5252ef8ba
* fix description end
...
git-svn-id: trunk@5850 -
2007-01-08 16:35:44 +00:00
Jonas Maebe
4003047c42
* recommanded -> recommended
...
git-svn-id: trunk@5846 -
2007-01-08 13:38:35 +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