Commit Graph

720 Commits

Author SHA1 Message Date
marco
bc30f2cfd0 * update to v 3.0.4
git-svn-id: tags/release_3_0_4@37116 -
2017-09-02 16:48:24 +00:00
marco
4b965da921 * version updates
git-svn-id: branches/fixes_3_0@35434 -
2017-02-13 08:24:06 +00:00
Jonas Maebe
bb3fd863e1 * merged support for changing the language set in the DWARF debug info to
C++ instead of Pascal, required by current LLDB versions (which is what
    Xcode on macOS uses)

--- Merging r34558 into '.':
U    compiler/dbgdwarf.pas
--- Recording mergeinfo for merge of r34558 into '.':
 U   .
--- Merging r34562 into '.':
G    compiler/dbgdwarf.pas
C    compiler/msgtxt.inc
C    compiler/msgidx.inc
U    compiler/globtype.pas
U    compiler/msg/errore.msg
--- Recording mergeinfo for merge of r34562 into '.':
 G   .

git-svn-id: branches/fixes_3_0@35298 -
2017-01-14 12:51:03 +00:00
Jonas Maebe
5107d65b32 Merging r33050
git-svn-id: branches/fixes_3_0@33845 -
2016-05-29 15:22:48 +00:00
Jonas Maebe
73cae02c20 --- Merging r29821 into '.':
U    compiler/cgobj.pas
--- Recording mergeinfo for merge of r29821 into '.':
 U   .
--- Merging r30947 into '.':
C    compiler/nmem.pas
U    compiler/jvm/njvmmem.pas
C    compiler/objcutil.pas
--- Recording mergeinfo for merge of r30947 into '.':
 G   .
--- Merging r31202 into '.':
U    compiler/utils/gppc386.pp
--- Recording mergeinfo for merge of r31202 into '.':
 G   .
--- Merging r31245 into '.':
U    compiler/symtype.pas
U    compiler/symdef.pas
--- Recording mergeinfo for merge of r31245 into '.':
 G   .
--- Merging r31289 into '.':
U    rtl/inc/aliases.inc
--- Recording mergeinfo for merge of r31289 into '.':
 G   .
--- Merging r31447 into '.':
U    compiler/aasmtai.pas
--- Recording mergeinfo for merge of r31447 into '.':
 G   .
--- Merging r31457 into '.':
C    compiler/msgtxt.inc
U    compiler/msg/errore.msg
C    compiler/msgidx.inc
--- Recording mergeinfo for merge of r31457 into '.':
 G   .
--- Merging r31909 into '.':
U    utils/rstconv.pp
--- Recording mergeinfo for merge of r31909 into '.':
 G   .
--- Merging r32087 into '.':
U    tests/webtbs/tw22376.pp
--- Recording mergeinfo for merge of r32087 into '.':
 G   .
--- Merging r32412 into '.':
G    compiler/symtype.pas
G    compiler/symdef.pas
--- Recording mergeinfo for merge of r32412 into '.':
 G   .
--- Merging r32516 into '.':
U    compiler/ncgmem.pas
A    tests/webtbs/tw29064.pp
--- Recording mergeinfo for merge of r32516 into '.':
 G   .
--- Merging r32548 into '.':
U    tests/Makefile
A    tests/createlst.mak
U    tests/utils/gparmake.pp
U    tests/Makefile.fpc
--- Recording mergeinfo for merge of r32548 into '.':
 G   .
--- Merging r32593 into '.':
U    compiler/pparautl.pas
--- Recording mergeinfo for merge of r32593 into '.':
 G   .
--- Merging r32617 into '.':
U    compiler/symsym.pas
C    compiler/ppu.pas
U    compiler/utils/ppuutils/ppudump.pp
A    tests/webtbs/uw28964.pp
A    tests/webtbs/tw28964.pp
--- Recording mergeinfo for merge of r32617 into '.':
 G   .
--- Merging r32619 into '.':
U    compiler/nmat.pas
A    tests/webtbs/tw28702.pp
--- Recording mergeinfo for merge of r32619 into '.':
 G   .
--- Merging r32627 into '.':
U    rtl/inc/ustrings.inc
--- Recording mergeinfo for merge of r32627 into '.':
 G   .
--- Merging r32632 into '.':
G    compiler/symsym.pas
--- Recording mergeinfo for merge of r32632 into '.':
 G   .
--- Merging r32633 into '.':
G    compiler/cgobj.pas
--- Recording mergeinfo for merge of r32633 into '.':
 G   .
--- Merging r32634 into '.':
U    compiler/powerpc/cpupara.pas
--- Recording mergeinfo for merge of r32634 into '.':
 G   .
--- Merging r32636 into '.':
A    tests/webtbs/tw29153.pp
U    compiler/ngtcon.pas
--- Recording mergeinfo for merge of r32636 into '.':
 G   .
--- Merging r32745 into '.':
G    compiler/pparautl.pas
U    compiler/ncal.pas
--- Recording mergeinfo for merge of r32745 into '.':
 G   .
--- Merging r32781 into '.':
G    compiler/symdef.pas
--- Recording mergeinfo for merge of r32781 into '.':
 G   .
--- Merging r33004 into '.':
U    packages/rtl-extra/src/unix/ipc.pp
--- Recording mergeinfo for merge of r33004 into '.':
 G   .
--- Merging r33112 into '.':
G    compiler/nmem.pas
--- Recording mergeinfo for merge of r33112 into '.':
 G   .
--- Merging r33157 into '.':
U    rtl/java/justrings.inc
--- Recording mergeinfo for merge of r33157 into '.':
 G   .
--- Merging r33161 into '.':
G    rtl/java/justrings.inc
--- Recording mergeinfo for merge of r33161 into '.':
 G   .
--- Merging r33167 into '.':
U    packages/numlib/tests/invgente.pas
U    packages/numlib/tests/sleglste.pas
U    packages/numlib/tests/eiggg1te.pas
U    packages/numlib/tests/roof1rte.pas
U    packages/numlib/tests/roopolte.pas
U    packages/numlib/tests/eigbs3te.pas
U    packages/numlib/tests/slegente.pas
U    packages/numlib/tests/eiggs3te.pas
U    packages/numlib/tests/spege1te.pas
U    packages/numlib/tests/invgpdte.pas
U    packages/numlib/tests/spemaxte.pas
U    packages/numlib/tests/eigts3te.pas
U    packages/numlib/tests/detgsyte.pas
U    packages/numlib/tests/slegbalt.pas
U    packages/numlib/tests/detgpbte.pas
U    packages/numlib/tests/slegsylt.pas
U    packages/numlib/tests/slegpdte.pas
U    packages/numlib/tests/slegpblt.pas
U    packages/numlib/tests/odeiv2te.pas
U    packages/numlib/tests/intge3te.pas
U    packages/numlib/tests/sledtrte.pas
U    packages/numlib/tests/eigsv1te.pas
U    packages/numlib/tests/slegtrte.pas
U    packages/numlib/tests/eigge1te.pas
U    packages/numlib/tests/eiggg4te.pas
U    packages/numlib/tests/eigbs2te.pas
U    packages/numlib/tests/eiggs2te.pas
U    packages/numlib/tests/timer.pas
U    packages/numlib/tests/eigts2te.pas
U    packages/numlib/tests/spepolte.pas
U    packages/numlib/tests/roofnrt1.pas
U    packages/numlib/tests/test.pas
U    packages/numlib/tests/odeiv1te.pas
U    packages/numlib/tests/intge2te.pas
U    packages/numlib/tests/speentte.pas
U    packages/numlib/tests/sleglslt.pas
U    packages/numlib/tests/eiggg3te.pas
U    packages/numlib/tests/eigbs1te.pas
U    packages/numlib/tests/turte.pas
U    packages/numlib/tests/invgsyte.pas
U    packages/numlib/tests/eiggs1te.pas
U    packages/numlib/tests/slegenlt.pas
U    packages/numlib/tests/eigts1te.pas
U    packages/numlib/tests/slegbate.pas
U    packages/numlib/tests/roofnrte.pas
U    packages/numlib/tests/slegsyte.pas
U    packages/numlib/tests/detgpdte.pas
U    packages/numlib/tests/slegpbte.pas
U    packages/numlib/tests/spepowte.pas
U    packages/numlib/tests/slegpdlt.pas
U    packages/numlib/tests/intge1te.pas
U    packages/numlib/tests/detgtrte.pas
U    packages/numlib/tests/eigsv3te.pas
U    packages/numlib/tests/eigge3te.pas
U    packages/numlib/tests/eiggg2te.pas
U    packages/numlib/tests/iomwrmte.pas
U    packages/numlib/tests/eigbs4te.pas
U    packages/numlib/tests/eiggs4te.pas
U    packages/numlib/tests/spesgnte.pas
U    packages/numlib/tests/eigts4te.pas
--- Recording mergeinfo for merge of r33167 into '.':
 G   .
--- Merging r33191 into '.':
U    compiler/cutils.pas
A    tests/webtbs/tw29620.pp
--- Recording mergeinfo for merge of r33191 into '.':
 G   .
--- Merging r33193 into '.':
U    compiler/symtable.pas
--- Recording mergeinfo for merge of r33193 into '.':
 G   .
--- Merging r33202 into '.':
U    compiler/options.pas
--- Recording mergeinfo for merge of r33202 into '.':
 G   .
--- Merging r33203 into '.':
U    rtl/inc/flt_core.inc
--- Recording mergeinfo for merge of r33203 into '.':
 G   .
--- Merging r33268 into '.':
U    compiler/pinline.pas
A    tests/test/tw29833.pp
--- Recording mergeinfo for merge of r33268 into '.':
 G   .
--- Merging r33270 into '.':
U    tests/test/units/sysutils/tfexpand2.pp
U    tests/test/units/system/tdir2.pp
--- Recording mergeinfo for merge of r33270 into '.':
 G   .
--- Merging r33271 into '.':
U    rtl/objpas/sysutils/sysuni.inc
A    tests/test/units/sysutils/twstralloc.pp
--- Recording mergeinfo for merge of r33271 into '.':
 G   .
--- Merging r33382 into '.':
A    tests/webtbs/tw29923.pp
G    compiler/cgobj.pas
--- Recording mergeinfo for merge of r33382 into '.':
 G   .
--- Merging r33413 into '.':
C    compiler/ncnv.pas
A    tests/webtbs/tw29930.pp
--- Recording mergeinfo for merge of r33413 into '.':
 G   .
--- Merging r33480 into '.':
U    compiler/pdecsub.pas
A    tests/webtbs/tw29992.pp
--- Recording mergeinfo for merge of r33480 into '.':
 G   .
--- Merging r33536 into '.':
U    compiler/systems.pas
--- Recording mergeinfo for merge of r33536 into '.':
 G   .
--- Merging r33539 into '.':
U    compiler/powerpc/nppcadd.pas
A    tests/webtbs/tw30035a.pp
A    tests/webtbs/tw30035.pp
--- Recording mergeinfo for merge of r33539 into '.':
 G   .
--- Merging r33567 into '.':
U    rtl/jvm/jvm.inc
--- Recording mergeinfo for merge of r33567 into '.':
 G   .

git-svn-id: branches/fixes_3_0@33584 -
2016-04-30 21:02:02 +00:00
Jonas Maebe
c378d75787 --- Merging r29497 through r29498 into '.':
C    compiler/msgtxt.inc
U    compiler/symtable.pas
U    compiler/msg/errore.msg
C    compiler/msgidx.inc
A    tests/test/tobjc41.pp
A    tests/test/thlp48.pp
A    tests/test/uobjc41.pp

# revisions: 29497,29498

git-svn-id: branches/fixes_3_0@29690 -
2015-02-13 23:02:05 +00:00
marco
00092321e3 --- Merging r29469 into '.':
U    rtl/inc/system.fpd
--- Merging r29470 into '.':
G    rtl/inc/system.fpd
--- Merging r29475 into '.':
U    compiler/msg/errore.msg
U    compiler/msgtxt.inc
--- Merging r29477 into '.':
U    rtl/dragonfly/x86_64/cprt0.as
--- Merging r29478 into '.':
U    packages/openssl/src/openssl.pas
--- Merging r29491 into '.':
U    installer/install.dat
--- Merging r29492 into '.':
U    rtl/os2/sysos.inc
U    rtl/os2/sysucode.inc
--- Merging r29494 into '.':
U    utils/fpmake.pp

# revisions: 29469,29470,29475,29477,29478,29491,29492,29494

git-svn-id: branches/fixes_3_0@29505 -
2015-01-18 16:24:07 +00:00
florian
9b6b029ca1 * patch by Yuri Zaporozhets to fix typos in text messages, resolves #27250
git-svn-id: trunk@29396 -
2015-01-04 20:46:36 +00:00
florian
2c26c35eb6 * updated copyright year to 2015
+ added "and others" if translation was not updated yet

git-svn-id: trunk@29383 -
2015-01-04 15:26:29 +00:00
Tomas Hajny
ee82b6ea0b * do not mention OS/2 and EMX on option list for x86_64
git-svn-id: trunk@29318 -
2014-12-23 23:08:43 +00:00
florian
4289dd667d * managed types cause a different warning/hint when they are
used uninitialized, so users can turn off these messages if they want, resolves #24601 and #26403

git-svn-id: trunk@29295 -
2014-12-14 20:48:54 +00:00
florian
bb01872821 + handle -CPPACKENUM and -CPPACKRECORD, resolves #27153
git-svn-id: trunk@29283 -
2014-12-13 21:08:18 +00:00
michael
a127bfa51d * Fixed tex marker
git-svn-id: trunk@29276 -
2014-12-12 20:02:09 +00:00
svenbarth
e614914016 Fix a grammatical error in warning asmr_w_global_access_without_got
git-svn-id: trunk@29238 -
2014-12-09 21:19:21 +00:00
florian
25e19f27a0 + write name of missing feature in error message
git-svn-id: trunk@29211 -
2014-12-07 18:20:56 +00:00
florian
ce96980f39 * updates to German message files by Karl-Michael Schindler, resolves #27061
git-svn-id: trunk@29148 -
2014-11-25 19:07:23 +00:00
svenbarth
2288df9fcf Fix for Mantis #27073. The -vx option is not only for Win32, but in fact for information about tool invocation on all platforms.
git-svn-id: trunk@29129 -
2014-11-23 20:46:45 +00:00
Tomas Hajny
4c98113569 * note about multiple 't' in -gt added to the help page
git-svn-id: trunk@29099 -
2014-11-21 13:53:53 +00:00
Tomas Hajny
fc17e318b0 * add some previously missing options to the help page, add support for listing recognized compiler and RTL features in -i and allow skipping an empty section (controllertypes) in -i listing by providing support of multiple output lines based on one source line in the msg file using $\n as newline
git-svn-id: trunk@29097 -
2014-11-21 13:03:24 +00:00
Tomas Hajny
f7e6ea56d9 * support for machine-parseable output of information in fpc -i plus improvements in help (including previously missing information for some less used platforms
git-svn-id: trunk@29032 -
2014-11-09 14:55:31 +00:00
Tomas Hajny
2a0d760a3f * fixed typo (can not)
git-svn-id: trunk@29030 -
2014-11-08 21:03:22 +00:00
Jonas Maebe
839d11eac9 * mention that misplaced global directives are ignored (mantis #27004)
git-svn-id: trunk@28998 -
2014-11-06 09:02:40 +00:00
Károly Balogh
4431ba2c08 merged/updated AROS/i386 target to trunk from AROS branch, to support Marcus Sackrow's work on AROS support which will hopefully benefit all Amiga-like targets (classic, MorphOS) on the long run. Compiler only, RTL comes in the next run.
git-svn-id: trunk@28432 -
2014-08-17 18:18:07 +00:00
Tomas Hajny
109d890adf * added description for option @ and missing bracket at the end of list for -P
git-svn-id: trunk@28187 -
2014-07-08 22:33:00 +00:00
nickysn
7f9fa145e8 + added error message in case the HUGEPOINTERNORMALIZATION directive is used
with an invalid argument

git-svn-id: trunk@28152 -
2014-07-04 17:16:58 +00:00
nickysn
a3b48b79cb - rm the scan_w_hugepointernormalization_not_support message, replaced with
scanner_w_directive_ignored_on_target

git-svn-id: trunk@28150 -
2014-07-04 14:03:18 +00:00
svenbarth
30be5d8d33 As discussed on core enable the abstract class construction warning by default and also make it controllable with {$warn constructing_abstract ...}.
* scandir.pas, dir_warn: also adjust the message state for type_w_instance_abstract_class if the identifier is CONSTRUCTING_ABSTRACT
* msg/errore.msg: enable type_w_instance_abstract_class by default

* msgidx.inc, msgtxt.inc: updated

git-svn-id: trunk@28137 -
2014-07-02 19:40:22 +00:00
Jonas Maebe
43839d1bda * update of German error message files by Karl-Michael Schindler
(mantis #26282)

git-svn-id: trunk@28129 -
2014-07-02 17:17:38 +00:00
svenbarth
a7a9440692 Add a new warning message that is generated if an instance of an abstract class is created. This message is disabled by default, but can be switched on by using {$warn 4122 on} or {$warn 4122 error}.
Please note that this warning won't be triggered if an instance of that class is created using a class variable of that class type as the compiler can not know the type contained in the variable at compile time (see also the added test).

+ msg/errore.msg: added disabled message which informs about the instantiation of an abstract class
* pexpr.pas, do_member_read: generate the message if we have a constructor call for an abstract class using a loadvmtaddrnode (thus the type name is used and not a class variable)

* msg{idx,txt}.inc: updated

+ added test

git-svn-id: trunk@28127 -
2014-07-01 20:41:05 +00:00
nickysn
b3bb9df19f + added a $HUGEPOINTERNORMALIZATION switch
git-svn-id: trunk@28088 -
2014-06-27 13:56:12 +00:00
nickysn
8b7863d076 + added warning in case a far pointer is declared on a platform that does not
support them

git-svn-id: trunk@28084 -
2014-06-27 09:26:08 +00:00
nickysn
140ce2a880 + added the compact and large memory models to the compiler command line option
help screen

git-svn-id: trunk@28082 -
2014-06-26 22:56:55 +00:00
nickysn
ce87e72721 * show an error if the user attempts to create a dos .com file in an i8086
memory model other than tiny

git-svn-id: trunk@28081 -
2014-06-26 22:52:57 +00:00
nickysn
db011dfb7a + added a warning if HeapMax<HeapMin is specified with the $M directive
git-svn-id: trunk@28042 -
2014-06-24 09:16:03 +00:00
Jonas Maebe
2df1d5ec58 * don't allow default parameter values for parameter types that don't accept
constant values (i.e., anything non-value/const/constref) (mantis #263363)
   o fixed default parameter value for var-parameter in chmreader

git-svn-id: trunk@28016 -
2014-06-20 19:50:20 +00:00
nickysn
82eb84ddff + added warning in case of an $M directive with an invalid stack size specified
git-svn-id: trunk@27964 -
2014-06-15 10:14:56 +00:00
sergei
3c1368903f * Updated header: this file is in cp866 encoding.
git-svn-id: trunk@27819 -
2014-05-27 22:45:04 +00:00
nickysn
ce0bd81273 + show an error message 'procedure must be far' if an attempt is made to convert
a near proc to a procvar in a i8086 far code memory model

git-svn-id: trunk@27567 -
2014-04-13 19:29:28 +00:00
florian
d88d644925 + support for FMA intrinsic: if there is no hardware support, the compiler throws an error.
Currently it is implemented only for x86-CPUs supporting the FMA extension. While it would
  be possible to implement it in software or simulate fma(<single>,<single>,<single>) using
  double operations, it makes no sense in my opinion to do so.

git-svn-id: trunk@27564 -
2014-04-13 19:21:54 +00:00
Jonas Maebe
d9dab6f2f1 * changed the severity of messages showing overloaded routines with all
parameters from hint to error in case they give more information
    about definition errors

git-svn-id: trunk@27521 -
2014-04-10 21:07:17 +00:00
Jonas Maebe
4a0528399e * check all overloaded routines for mangled name conflicts on the JVM
platform, as different Pascal declarations are mapped to the same
    JVM representation

git-svn-id: trunk@27520 -
2014-04-10 21:07:14 +00:00
pierre
ca156aa64a Force external linker for nasm smartlinking
git-svn-id: trunk@27512 -
2014-04-10 15:02:04 +00:00
Jonas Maebe
9420a5d7a7 * also check for targets not supporting -gc/checkpointer functionality in
compiler directives, not just on the command line (mantis #25862)

git-svn-id: trunk@27128 -
2014-03-13 20:42:18 +00:00
florian
6697939903 * replaced some aren't, weren't, can't by are not, were not, cannot
git-svn-id: trunk@26842 -
2014-02-22 16:07:27 +00:00
florian
76b2074e59 * updated year in logo from 2013 to 2014
git-svn-id: trunk@26841 -
2014-02-22 15:58:03 +00:00
sergei
e1cf19d05d + Require -d and -u command line options to have an argument, Mantis #25082.
+ Check that argument of -d and -u is a Pascal identifier, Mantis #17056.

git-svn-id: trunk@26755 -
2014-02-12 04:44:35 +00:00
pierre
b4d0cf5593 * Add different message for static libraary not supported
git-svn-id: trunk@26596 -
2014-01-27 22:26:29 +00:00
pierre
af83a74544 Add -h output for new assemblers
git-svn-id: trunk@26551 -
2014-01-21 09:00:53 +00:00
pierre
e44dc53083 Add help output for new -ao option to set asmextraopt
git-svn-id: trunk@26543 -
2014-01-21 00:20:23 +00:00
paul
79ef05407a compiler: fix error message (was error message about resourcestring for property)
git-svn-id: trunk@26389 -
2014-01-05 07:12:41 +00:00