Commit Graph

388 Commits

Author SHA1 Message Date
florian
41e4095cfa * if a non local variables isn't initialized the compiler doesn't write
any longer "local var. seems not to be ..."
1999-05-19 15:26:32 +00:00
peter
e8bf496ae8 * containsself fixes
* checktypes()
1999-05-18 14:15:18 +00:00
peter
0fa3bc3618 * removed -Fg and -Up 1999-05-16 02:28:51 +00:00
peter
a47afc3857 * removed oldppu code
* warning if objpas is loaded from uses
  * first things for new deref writing
1999-05-13 21:59:19 +00:00
florian
d8307b9cd3 * override isn't allowed in objects! 1999-05-12 22:36:04 +00:00
peter
02364c2124 + hint where a duplicate sym is already defined 1999-05-09 12:46:19 +00:00
peter
4841b4236c * updated messages 1999-05-05 22:21:47 +00:00
florian
71ae948727 + method message handlers which contain an explicit self can't be called
directly anymore
  + self is now loaded at the start of the an message handler with an explicit
    self
  + $useoverlay fixed: i386 was renamed to i386base
1999-05-02 09:35:39 +00:00
florian
d27b21891b * changes of Bruessel:
+ message handler can now take an explicit self
     * typinfo fixed: sometimes the type names weren't written
     * the type checking for pointer comparisations and subtraction
       and are now more strict (was also buggy)
     * small bug fix to link.pas to support compiling on another
       drive
     * probable bug in popt386 fixed: call/jmp => push/jmp
       transformation didn't count correctly the jmp references
     + threadvar support
     * warning if ln/sqrt gets an invalid constant argument
1999-04-28 06:01:54 +00:00
pierre
8970dc7efd + added an error for var x,y : integer = 4;
for Delphi initialized vars
1999-04-25 22:31:32 +00:00
pierre
b573615038 + args by ebp offset warning in -vz mode 1999-04-21 16:24:49 +00:00
peter
cb70b62a82 * storenumber works
* fixed some typos in double_checksum
  + incompatible types type1 and type2 message (with storenumber)
1999-04-21 09:43:28 +00:00
pierre
7482ba0913 * void pointer accepted with warning in tp and delphi mode 1999-04-16 12:14:44 +00:00
pierre
c568c17e4a + error for unsupported operand combination 1999-04-16 09:51:02 +00:00
pierre
9bca84a43d * fix for bug0234 1999-04-15 12:58:07 +00:00
peter
0ccfd1cb90 * int/int warning removed, only the hint is left 1999-04-08 11:33:56 +00:00
pierre
e933fef38b + new message for crc problems 1999-04-07 14:54:41 +00:00
peter
bdf7975be6 * type error for array constructor with array,record as argument 1999-04-01 21:59:56 +00:00
peter
d0cb5a147a * fixed bugs 212,222,225,227,229,231,233 1999-03-24 23:16:42 +00:00
florian
b8bd0af1b8 * wrong warning fixed, if a non-virtual method was hidden by a virtual
method (repoerted by Matthias Koeppe)
1999-02-24 09:51:40 +00:00
florian
3c576cce7d + first implementation of message keyword 1999-02-22 20:13:32 +00:00
pierre
0669413251 + -b and -bl options work !
+ cs_local_browser ($L+) is disabled if cs_browser ($Y+)
    is not enabled when quitting global section
  * local vars and procedures are not yet stored into PPU
1999-02-22 13:06:52 +00:00
florian
bad58ce2b7 + warning for lo/hi(longint/dword) in -So and -Sd mode added 1999-02-22 12:36:30 +00:00
peter
014f866939 * fixed error messages when parsing typed const array 1999-02-17 10:15:26 +00:00
pierre
9cd2a98429 * error adds for bug0175 1999-01-28 14:33:26 +00:00
pierre
0cfc4c8f6b * fix for constructor inside with statements 1999-01-21 16:40:51 +00:00
pierre
10d97a9144 * bugs related to mangledname solved
- linux external without name
    -external procs already used
    (added count and is_used boolean fiels in tprocvar)
1999-01-20 14:18:32 +00:00
pierre
e4dadb6b3b typeof(object) without vmt generates an error instead of an internalerror 1999-01-19 10:56:05 +00:00
peter
f67fb1b0eb * error if upper<lower in array decl 1999-01-15 13:08:19 +00:00
florian
d15d426756 * mainly problem with invalid case ranges fixed (reported by Jonas) 1999-01-05 08:19:59 +00:00
michael
2c476b0d22 + Added -Sh switch 1998-12-30 22:04:30 +00:00
peter
c7637424cf + resource file handling ($R directive) for Win32 1998-12-28 23:26:14 +00:00
peter
ec85c3d6fb * update -h page 1998-12-16 16:40:00 +00:00
peter
6e7f776c4f + -gh for heaptrc unit 1998-12-08 10:18:07 +00:00
pierre
a1f1003555 * some range check bugs fixed (still not working !)
+ added DLL writing support for win32 (also accepts variables)
  + TempAnsi for code that could be used for Temporary ansi strings
    handling
1998-11-30 09:42:52 +00:00
peter
162124d10c * give error when string[0] decl is found 1998-11-27 14:34:41 +00:00
peter
85726fcb35 * more ansistring fixes 1998-11-17 00:36:38 +00:00
peter
2e8ab172c2 * unused label is now a warning 1998-11-13 12:09:09 +00:00
peter
d84489d9b7 * recordtype.field support in constant expressions
* fixed imul for oa_imm8 which was not allowed
  * fixed reading of local typed constants
  * fixed comment reading which is not any longer a separator
1998-11-05 23:48:17 +00:00
peter
85b80b7aef * fixed unknown set operation msg 1998-11-05 14:28:12 +00:00
peter
3037445491 * released useansistring
* removed -Sv, its now available in fpc modes
1998-11-05 12:02:30 +00:00
florian
7e40231ad7 * some dll support for win32
* fixed assembler writing for PalmOS
1998-10-29 11:35:36 +00:00
pierre
1dfbb756e9 * classes get a vmt allways
* better error info (tried to remove
    several error strings introduced by the tpexcept handling)
1998-10-27 13:45:25 +00:00
florian
6eaa58b9c5 + switch $APPTYPE for win32 added 1998-10-22 17:54:03 +00:00
pierre
eea45c0432 + terminated the include exclude implementation for i386
* enums inside records fixed
1998-10-22 17:11:13 +00:00
florian
d2f078ce49 + switch -vx for win32 added 1998-10-22 15:18:44 +00:00
pierre
6c1226ad3c + better error info on unimplemented set operators 1998-10-22 12:12:23 +00:00
florian
852aeb1a13 + check for access to index 0 of long/wide/ansi strings added,
gives now an error
  * problem with access to contant index of ansistrings fixed
1998-10-21 11:44:42 +00:00
pierre
4494bfafb6 * type ptree only allowed inside expression
if following sizeof typeof low high or as first arg of new !!
1998-10-20 15:10:15 +00:00
florian
eaab0f1c1b + switch -FD added to specify the path for utilities 1998-10-16 13:37:14 +00:00
pierre
ff45eacd79 + source_os is now set correctly for cross-processor compilers
(tos contains all target_infos and
     we use CPU86 and CPU68 conditionnals to
     get the source operating system
     this only works if you do not undefine
     the source target  !!)
  * several cg68k memory leaks fixed
  + started to change the code so that it should be possible to have
    a complete compiler (both for m68k and i386 !!)
1998-10-13 08:19:24 +00:00
pierre
9ec2dfaf4a + added tai_const_symbol_offset
for r : pointer = @var.field;
  * better message for different arg names on implementation
    of function
1998-10-12 12:20:37 +00:00
peter
0a80414650 + show name and date of .o and .s files which the compiler checks 1998-10-12 11:59:00 +00:00
florian
e05ec93224 + support of <procedure var type>:=<pointer> in delphi mode added 1998-10-12 09:49:53 +00:00
peter
f9f869fb37 + checks for division by zero 1998-10-11 14:31:15 +00:00
pierre
6f470079a0 * add a second load for PPU file 1998-10-09 14:38:50 +00:00
pierre
4073682c64 * still more memory leaks fixes !! 1998-10-09 11:47:45 +00:00
peter
0fc61cdfc1 * -vu shows unit info, -vt shows tried/used files 1998-10-08 23:28:50 +00:00
peter
3d984e5bf1 * m68k compiler compiles again 1998-10-06 20:48:56 +00:00
peter
c5039c8527 * better error message for unresolved forward types 1998-10-02 17:05:58 +00:00
peter
cc64ced22c * some more unit messages 1998-09-30 16:39:29 +00:00
peter
c8873b189f * fixed small typo in help pages 1998-09-25 09:56:07 +00:00
michael
d46ab2c19d + Someone forgot to commit this 1998-09-25 09:08:32 +00:00
pierre
9589f619d7 * browser bugfixes
was adding a reference when looking for the symbol
    if -bSYM_NAME was used
1998-09-23 15:38:59 +00:00
peter
a0c582dc12 * merged fixes 1998-09-16 16:41:38 +00:00
florian
29fe330347 * a lot of stuff fixed regarding rtti and publishing of properties,
basics should now work
1998-09-07 23:10:17 +00:00
peter
cba20a515a * fixed str(boolean,string) which was allowed
* fixed write(' ':<int expression>) only constants where allowed :(
1998-09-07 22:25:48 +00:00
florian
26dbc1a7ba + some stuff for property rtti added:
- NameIndex of the TPropInfo record is now written correctly
     - the DEFAULT/NODEFAULT keyword is supported now
     - the default value and the storedsym/def are now written to
       the PPU fiel
1998-09-07 19:33:20 +00:00
florian
16c2b4a41f + switch -vb
* while/repeat loops accept now also word/longbool conditions
  * makebooltojump did an invalid ungetregister32, fixed
1998-09-05 22:10:54 +00:00
florian
7cedcfc690 * bug0159 fixed 1998-09-04 12:24:24 +00:00
peter
58c2d999f0 * updated some error messages 1998-09-04 08:41:36 +00:00
peter
c4ed67543a + aktpackenum 1998-09-01 12:53:19 +00:00
peter
5eaee9c9ad + new messagefile
* merged optione.msg into errore.msg
1998-08-29 13:52:29 +00:00
peter
ea8a7d2a4f * fixed some messages and smaller msgtxt.inc 1998-08-11 14:09:06 +00:00
peter
99ba9f9a6f * -vu displays now all searchpaths 1998-08-11 00:01:20 +00:00
peter
c9715847f6 * updated messages file 1998-07-14 21:46:38 +00:00
florian
75f7938e27 * problem with sizes of classes fixed (if the anchestor was declared
forward, the compiler doesn't update the child classes size)
1998-06-03 22:14:16 +00:00
peter
4c96df6b43 * moved printstatus to verb_def
+ V_Normal which is between V_Error and V_Warning and doesn't have a
    prefix like error: warning: and is included in V_Default
  * fixed some messages
  * first time parameter scan is only for -v and -T
  - removed old style messages
1998-05-12 10:46:58 +00:00
peter
94b52a3d7f + smartlinking works (only case jumptable left todo)
* redesign of systems.pas to support assemblers and linkers
  + Unitname is now also in the PPU-file, increased version to 14
1998-05-04 17:54:24 +00:00
florian
258d6968af + correct semantics of private and protected
* small fix in variable scope:
     a id can be used in a parameter list of a method, even it is used in
     an anchestor class as field id
1998-05-01 09:01:20 +00:00
florian
f700edae4d + basics for rtti implemented
+ switch $m (generate rtti for published sections)
1998-05-01 07:43:52 +00:00
pierre
5cdd60cac8 + added some code for ansistring (not complete nor working yet)
* corrected operator overloading
  * corrected nasm output
  + started inline procedures
  + added starstarn : use ** for exponentiation (^ gave problems)
  + started UseTokenInfo cond to get accurate positions
1998-04-29 10:33:40 +00:00
florian
c2ca131926 * problem with read access to properties solved
* correct handling of hidding methods via virtual (COM)
  * correct result type of constructor calls (COM), the resulttype
    depends now on the type of the class reference
1998-04-12 22:39:43 +00:00
florian
9c5d07fbba * small problems solved to get remake3 work 1998-04-09 23:02:14 +00:00
peter
b69a1a8fd9 * small fixes for messages 1998-04-09 19:48:30 +00:00
florian
1d8165e4bc * correct error handling of virtual constructors
* problem with new type declaration handling fixed
1998-04-08 10:26:07 +00:00
peter
8b105d9697 * fixed the -Ss bug
+ warning for Virtual constructors
  * helppages updated with -TGO32V1
1998-04-05 13:58:35 +00:00
root
d1a1f501c8 Initial revision 1998-03-25 11:18:12 +00:00