Commit Graph

35242 Commits

Author SHA1 Message Date
Jonas Maebe
84c23f6b42 * fixed range check warning when doing a native ppc64 compile
git-svn-id: trunk@19595 -
2011-11-04 22:49:04 +00:00
pierre
c86e36a53b Avoid warning on non-i386 CPUs
git-svn-id: trunk@19594 -
2011-11-03 16:38:28 +00:00
pierre
0eb0415194 * Fix longstanding confusion between two gdb functions catch_errors and catch_command_errors fix led to random from_tty parameter value
git-svn-id: trunk@19593 -
2011-11-03 16:31:56 +00:00
pierre
4366076b29 Add /usr/local/lib library path for FreeBSD and OpenBSD targets
git-svn-id: trunk@19592 -
2011-11-03 16:15:08 +00:00
pierre
7f5f552e4a * Fix compilation by disabling warnings for unsupported MIN/MAXSTACKSIZE
git-svn-id: trunk@19591 -
2011-11-03 13:22:53 +00:00
pierre
12d611e255 * Fix compilation by disabling -Sew for 2.4.X compiler versions
git-svn-id: trunk@19590 -
2011-11-03 13:21:57 +00:00
pierre
43abca844f Add missing mode objfpc needed for out parameter type
git-svn-id: trunk@19589 -
2011-11-03 11:46:52 +00:00
pierre
9598baa179 Use out untyped parameter to avoid warnings
git-svn-id: trunk@19588 -
2011-11-03 11:44:01 +00:00
pierre
b1975eb088 Use out untyped parameter to avoid warnings
git-svn-id: trunk@19587 -
2011-11-03 11:43:29 +00:00
pierre
019ecd53fe Use out parameter type for tppufile.getXXX methods
git-svn-id: trunk@19586 -
2011-11-03 11:09:34 +00:00
pierre
362a3c8beb Enable -Sew by default, set ALLOW_WARNINGS to 1 to disable
git-svn-id: trunk@19585 -
2011-11-03 10:27:58 +00:00
pierre
b6de7f0d6b * Suppress Comaprison might be always false if first_mm_imreg is zero
git-svn-id: trunk@19584 -
2011-11-03 10:13:26 +00:00
pierre
97559ea92a * Define MAX_OPER_X to avoid warnings about array index past maximum value
git-svn-id: trunk@19583 -
2011-11-03 10:12:31 +00:00
pierre
531d3808fc Override abstract method to abvoid warning at compilation time
git-svn-id: trunk@19582 -
2011-11-03 10:10:40 +00:00
pierre
8319972722 Override abstract method to abvoid warning at compilation time and suppress warning about macos_direct_globals constant
git-svn-id: trunk@19581 -
2011-11-03 10:10:11 +00:00
pierre
695556fe23 * Avoid warnings about use_PR constant boolean
git-svn-id: trunk@19580 -
2011-11-03 10:09:20 +00:00
pierre
44f8bb35b7 Override abstract method to abvoid warning at compilation time
git-svn-id: trunk@19579 -
2011-11-03 10:08:37 +00:00
pierre
42c98f3cd5 Override abstract method to abvoid warning at compilation time
git-svn-id: trunk@19578 -
2011-11-03 10:08:12 +00:00
pierre
fc9dd61f03 Avoid warning about missing fields in embedded_controllers array
git-svn-id: trunk@19577 -
2011-11-03 10:07:35 +00:00
pierre
3a7af29d3a Use aint type local variable in read_index_shift to avoid wrong typecast
git-svn-id: trunk@19576 -
2011-11-03 10:06:36 +00:00
pierre
33800a0b59 * Avoid warnings and add create_varargs_paraloc_info method
git-svn-id: trunk@19575 -
2011-11-03 10:04:54 +00:00
paul
26f66897cd compiler:
- warn if compiler finds implicit or explicit string type conversion from a form of ansi string to a form of unicode string and vice versa
  - mark explicit warnings as OFF by default
  - warn if compiler finds an assignment of an unicode char const to ansi string or char type (warn for assignment of unicode string const to be implemented)
  - revert a piece of code from r19457 regards shortstring handling because shortstring handling should not differ from ansistring in this paticular case

git-svn-id: trunk@19574 -
2011-11-03 00:39:22 +00:00
pierre
2b4e2dc164 * Fix ChangeMessageVerbosity by adingd a recordpendingmessagestate call
git-svn-id: trunk@19573 -
2011-11-02 22:08:14 +00:00
michael
2625b1dfa4 * Improved efficiency of Now/Date/Time
git-svn-id: trunk@19572 -
2011-11-02 14:33:33 +00:00
pierre
da62249d6b * Fix code to avoid use of unitialized rv local variable in tmoddivnode.simplify method
git-svn-id: trunk@19571 -
2011-11-02 11:22:45 +00:00
paul
aba10cd184 compiler:
- allow turning some messages off by default by prefixing verbosity type with '-' sign (in error.msg)
  - interpret -vm- as a switch which changes message verbosity to *on* by default
  * appropriate error.msg file changes will come later

git-svn-id: trunk@19570 -
2011-11-02 09:20:59 +00:00
michael
86c0b324fd * Added ReReadTimeZone
git-svn-id: trunk@19569 -
2011-11-01 18:05:38 +00:00
paul
82dd2e28d5 tests:
- fix twide6.pp: 
    1. remote unicodestring part because tunistr6.pp already test it
    2. remove ansistring function tests because it depended on the fact that WideString->AnsiString conversions replaced all unsupported characters with "?" which is not true now - those unsupported characters are transliterated currently.
  - apply similar fix to tunistr6.pp

git-svn-id: trunk@19568 -
2011-11-01 02:37:54 +00:00
paul
60de075ebe rtl: initialize CodePage field of ReadStr/WriteStr Text variables
git-svn-id: trunk@19567 -
2011-10-31 07:07:24 +00:00
paul
435b72bcb1 compiler: check left node to be ord const diring widechar/unicodechar to shortstring before executing the code related to tordconstn()
git-svn-id: trunk@19566 -
2011-10-31 07:00:38 +00:00
paul
8feb3806b8 tests: adapt test for codepage aware strings
git-svn-id: trunk@19565 -
2011-10-31 05:49:37 +00:00
paul
b8589d98cc compiler: Don't allow duplicate property/procedure identifiers inside object declaration. The code which allowed this for delphi mode was initially written based on invalid test from mantis #0009176. Fixes bug #0020580.
git-svn-id: trunk@19564 -
2011-10-31 05:35:40 +00:00
paul
f685d67647 compiler: correctly traverse record fields while generating record constant (bug #0020594)
git-svn-id: trunk@19563 -
2011-10-31 02:54:19 +00:00
florian
6b4a5c3cf6 * default arm-linux to linux eabi, oabi is basically dead
git-svn-id: trunk@19562 -
2011-10-30 21:33:21 +00:00
florian
5d4607f65a * ignore errors in setlength parsing inside a generic functin, resolves #20557
git-svn-id: trunk@19561 -
2011-10-30 19:22:55 +00:00
sekelsenmat
2df900652e fpvectorial is now moved to lazarus/components/fpvectorial
git-svn-id: trunk@19560 -
2011-10-30 16:42:46 +00:00
florian
5fd5770059 * load/write loadnodeflags from/to ppu
git-svn-id: trunk@19559 -
2011-10-30 16:15:54 +00:00
florian
6ec0f2549a * factored load node flags out of node flags to gain space
+ implemented iso mode mod, resolves #17685

git-svn-id: trunk@19558 -
2011-10-30 15:14:21 +00:00
florian
d6e429e871 * .lpi version update
git-svn-id: trunk@19557 -
2011-10-30 14:24:03 +00:00
joost
65b7c1b515 * Same change as in r19552 for all other packages compiled with fpmake
git-svn-id: trunk@19553 -
2011-10-28 13:10:26 +00:00
joost
58a9e40e88 * Take INSTALL_BASEDIR into account on make install, this is used by rpm-building
git-svn-id: trunk@19552 -
2011-10-28 12:54:50 +00:00
joost
14ec31daff * On go32v2, fppkg does not depend on fcl-net
git-svn-id: trunk@19551 -
2011-10-28 11:43:30 +00:00
paul
62b4ef3d1a compiler: don't create a parasymtable for property if property has no parameters
git-svn-id: trunk@19550 -
2011-10-28 01:38:55 +00:00
sekelsenmat
aaabc35058 Disables compiling fpvectorial
git-svn-id: trunk@19549 -
2011-10-27 18:55:11 +00:00
paul
5c00cdf40d rtl: correct ifdef for a code which assigns a codepage to textrec to use FPC_HAS_CPSTRING
git-svn-id: trunk@19548 -
2011-10-27 01:24:00 +00:00
florian
72425b49c9 * fixes bootstrapping with upcoming 2.6.x
git-svn-id: trunk@19547 -
2011-10-26 19:26:10 +00:00
sergei
6a3fe72de9 + Support .rva directive in AT&T reader. Put it into base class because it generally applies to all targets with COFF output, but enabled for Windows targets only (others need additional testing).
+ Support .seh_handlerdata directive in Win64.

git-svn-id: trunk@19546 -
2011-10-25 15:18:47 +00:00
paul
b7185a554c rtl:
- replace ifndef ver2_4 with ifdef FPC_HAS_CPSTRING for places with TextRec.CodePage access
  - convert codepages for Read and Write text file operations

git-svn-id: trunk@19545 -
2011-10-25 08:40:49 +00:00
paul
ef0c4a1e5c rtl: fix fpc_AnsiStr_To_AnsiStr source codepage check (less conversions should be done now from AnsiString type to the same codepage strings)
git-svn-id: trunk@19544 -
2011-10-25 07:57:31 +00:00
paul
e08c68f308 rtl: set codepages for TextRec field when Text file is opened + update this field for standard IO files when cwstring is used
git-svn-id: trunk@19543 -
2011-10-25 06:27:54 +00:00