The sources of the Free Pascal compiler, RTL, packages and utilities. See https://www.freepascal.org/ for more info.
Go to file
pierre d09389ac79 Implement support for $WARN XXX ON/OFF/ERROR
* globtype.pas:
  tmsgstate updated (ms_on/off/error_global variants added).
  ms_local_mask, ms_global_mask : new constants.
  tmessagestaterecord: new record, use to list chains
  of local changes to warnings by $WARN directive.
  pmessagestaterecord: new pointer to tmessagestaterecord.

  * globals.pas:
    tsettings record:
    new field: pmessage of type pmessagestaterecord;

  * cmsgs.pas:
  TMessage class:
  New method: ResetStates; Called on unit parsing changes
  New Method: SetVerbosity(nr:longint;newstate:tmsgstate):boolean;
  Remember global state in
  replacing ClearVerbosity method.
  New boolean field:  has_local_changes
  set if a call to SetVerbosity makes a local change that must be
  reset when changing unit.

  * verbose.pas:
  New functions/procedures:
  function  SetMessageVerbosity(v:longint;state:tmsgstate):boolean;
  for changes caused by $WARN or option
  procedure RestoreLocalVerbosity(pstate : pmessagestaterecord);
  procedure FreeLocalVerbosity(var fstate : pmessagestaterecord);
  function ChangeMessageVerbosity(s: string; var i: integer;state:tmsgstate): boolean;

  * switches.pas:
  Implement recordpendingmessagestate
  flushpendingswitchesstate: Handle new pmessage field of
  current_settings record.

  * parser.pas:
  Handle pmessage field of current_settings.

  * scandir.pas:

  Handle also integer constants in $WARN.

git-svn-id: trunk@17852 -
2011-06-28 10:03:07 +00:00
compiler Implement support for $WARN XXX ON/OFF/ERROR 2011-06-28 10:03:07 +00:00
ide + Add $rbp FrameName for x86_64 CPU 2010-12-30 14:53:57 +00:00
installer + packages fcl-js and hermes added 2011-02-20 20:48:16 +00:00
packages * Fix for non-i386 platforms 2011-06-27 21:50:05 +00:00
rtl * Second patch from Mattias Gaertner (bug 19623, should fix 19633 as well) 2011-06-27 18:34:25 +00:00
tests * fixed non short boolean evaluation of <64 bit bool> and/or <64 bit bool> on non-64 bit cpus 2011-06-26 21:01:59 +00:00
utils * Also for -Cg use for x86_64 solaris 2011-06-24 13:52:37 +00:00
.gitattributes * when comparing overridden methods, ignore hidden parameters because overridden methods does not 2011-06-26 12:34:59 +00:00
.gitignore + Added libogc binding and examples for Wii 2011-02-23 21:59:42 +00:00
Makefile * regenerated 2011-06-05 17:18:13 +00:00
Makefile.fpc * compile win 64-bit IDE default. It works now, and even gdb is starting to work. 2010-12-15 19:16:48 +00:00