mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 06:56:10 +02:00
LCL: gtk2: disabled optimization REMOVEEMPTYPROCS for fpc 2.7.1
git-svn-id: trunk@40321 -
This commit is contained in:
parent
067df6dac3
commit
577bc9d322
@ -1,3 +1,10 @@
|
|||||||
// Add defines here. This file should be included in all LCL units headers
|
// Add defines here. This file should be included in all LCL units headers
|
||||||
|
|
||||||
{$DEFINE UseCLDefault}
|
{$DEFINE UseCLDefault}
|
||||||
{$WARN SYMBOL_PLATFORM OFF}
|
{$WARN SYMBOL_PLATFORM OFF}
|
||||||
|
|
||||||
|
{$IF FPC_FULLVERSION>=20701}
|
||||||
|
// NOREMOVEEMPTYPROCS bites double inheritance in wslclclasses.pp
|
||||||
|
{$OPTIMIZATION NOREMOVEEMPTYPROCS}
|
||||||
|
{$ENDIF}
|
||||||
|
|
||||||
|
@ -94,3 +94,7 @@
|
|||||||
// See http://bugs.freepascal.org/view.php?id=18966
|
// See http://bugs.freepascal.org/view.php?id=18966
|
||||||
{$define Gtk2CallMouseDownBeforeContext}
|
{$define Gtk2CallMouseDownBeforeContext}
|
||||||
|
|
||||||
|
{$IF FPC_FULLVERSION>=20701}
|
||||||
|
{$OPTIMIZATION NOREMOVEEMPTYPROCS}
|
||||||
|
{$ENDIF}
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
<License Value="modified LGPL-2
|
<License Value="modified LGPL-2
|
||||||
"/>
|
"/>
|
||||||
<Version Major="1" Release="1"/>
|
<Version Major="1" Release="1"/>
|
||||||
<Files Count="290">
|
<Files Count="291">
|
||||||
<Item1>
|
<Item1>
|
||||||
<Filename Value="barchart.pp"/>
|
<Filename Value="barchart.pp"/>
|
||||||
<UnitName Value="BarChart"/>
|
<UnitName Value="BarChart"/>
|
||||||
@ -1196,6 +1196,10 @@
|
|||||||
<Filename Value="include/sysenvapis_unix.inc"/>
|
<Filename Value="include/sysenvapis_unix.inc"/>
|
||||||
<Type Value="Include"/>
|
<Type Value="Include"/>
|
||||||
</Item290>
|
</Item290>
|
||||||
|
<Item291>
|
||||||
|
<Filename Value="include/lcl_defines.inc"/>
|
||||||
|
<Type Value="Include"/>
|
||||||
|
</Item291>
|
||||||
</Files>
|
</Files>
|
||||||
<LazDoc Paths="../docs/xml/lcl"/>
|
<LazDoc Paths="../docs/xml/lcl"/>
|
||||||
<i18n>
|
<i18n>
|
||||||
|
@ -24,9 +24,8 @@
|
|||||||
}
|
}
|
||||||
unit LCLProc;
|
unit LCLProc;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$I lcl_defines.inc}
|
||||||
{$inline on}
|
{$inline on}
|
||||||
{$include include/lcl_defines.inc}
|
|
||||||
|
|
||||||
interface
|
interface
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
{ $Id$}
|
|
||||||
{
|
{
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* WSArrow.pp *
|
* WSArrow.pp *
|
||||||
@ -23,6 +22,7 @@
|
|||||||
unit WSArrow;
|
unit WSArrow;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{$I lcl_defines.inc}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
////////////////////////////////////////////////////
|
////////////////////////////////////////////////////
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
{ $Id$}
|
|
||||||
{
|
{
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* WSButtons.pp *
|
* WSButtons.pp *
|
||||||
@ -23,6 +22,7 @@
|
|||||||
unit WSButtons;
|
unit WSButtons;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{$I lcl_defines.inc}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
////////////////////////////////////////////////////
|
////////////////////////////////////////////////////
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
{ $Id$}
|
|
||||||
{
|
{
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* WSCalendar.pp *
|
* WSCalendar.pp *
|
||||||
@ -23,6 +22,7 @@
|
|||||||
unit WSCalendar;
|
unit WSCalendar;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{$I lcl_defines.inc}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
////////////////////////////////////////////////////
|
////////////////////////////////////////////////////
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
{ $Id$}
|
|
||||||
{
|
{
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* WSCheckLst.pp *
|
* WSCheckLst.pp *
|
||||||
@ -23,6 +22,7 @@
|
|||||||
unit WSCheckLst;
|
unit WSCheckLst;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{$I lcl_defines.inc}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
////////////////////////////////////////////////////
|
////////////////////////////////////////////////////
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
{ $Id$}
|
|
||||||
{
|
{
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* WSComCtrls.pp *
|
* WSComCtrls.pp *
|
||||||
@ -23,6 +22,7 @@
|
|||||||
unit WSComCtrls;
|
unit WSComCtrls;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{$I lcl_defines.inc}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
////////////////////////////////////////////////////
|
////////////////////////////////////////////////////
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
{ $Id$}
|
|
||||||
{
|
{
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* WSControls.pp *
|
* WSControls.pp *
|
||||||
@ -23,6 +22,7 @@
|
|||||||
unit WSControls;
|
unit WSControls;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{$I lcl_defines.inc}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
////////////////////////////////////////////////////
|
////////////////////////////////////////////////////
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
{ $Id: wsdesigner.pp 11897 2007-09-01 02:46:24Z marc $}
|
|
||||||
{
|
{
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* WSDesigner.pp *
|
* WSDesigner.pp *
|
||||||
@ -23,6 +22,7 @@
|
|||||||
unit WSDesigner;
|
unit WSDesigner;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{$I lcl_defines.inc}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
////////////////////////////////////////////////////
|
////////////////////////////////////////////////////
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
{ $Id$}
|
|
||||||
{
|
{
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* WSDialogs.pp *
|
* WSDialogs.pp *
|
||||||
@ -23,6 +22,7 @@
|
|||||||
unit WSDialogs;
|
unit WSDialogs;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{$I lcl_defines.inc}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
////////////////////////////////////////////////////
|
////////////////////////////////////////////////////
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
{ $Id$}
|
|
||||||
{
|
{
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* WSExtCtrls.pp *
|
* WSExtCtrls.pp *
|
||||||
@ -23,6 +22,7 @@
|
|||||||
unit WSExtCtrls;
|
unit WSExtCtrls;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{$I lcl_defines.inc}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
////////////////////////////////////////////////////
|
////////////////////////////////////////////////////
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
{ $Id$}
|
|
||||||
{
|
{
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* WSExtDlgs.pp *
|
* WSExtDlgs.pp *
|
||||||
@ -23,6 +22,7 @@
|
|||||||
unit WSExtDlgs;
|
unit WSExtDlgs;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{$I lcl_defines.inc}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
////////////////////////////////////////////////////
|
////////////////////////////////////////////////////
|
||||||
|
@ -1,6 +1,28 @@
|
|||||||
|
{
|
||||||
|
*****************************************************************************
|
||||||
|
* WSFactory.pas *
|
||||||
|
* ------------- *
|
||||||
|
* *
|
||||||
|
* *
|
||||||
|
*****************************************************************************
|
||||||
|
|
||||||
|
*****************************************************************************
|
||||||
|
* *
|
||||||
|
* This file is part of the Lazarus Component Library (LCL) *
|
||||||
|
* *
|
||||||
|
* See the file COPYING.modifiedLGPL.txt, included in this distribution, *
|
||||||
|
* for details about the copyright. *
|
||||||
|
* *
|
||||||
|
* This program is distributed in the hope that it will be useful, *
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
||||||
|
* *
|
||||||
|
*****************************************************************************
|
||||||
|
}
|
||||||
unit WSFactory;
|
unit WSFactory;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{$I lcl_defines.inc}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
unit WSForms;
|
unit WSForms;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{$I lcl_defines.inc}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
////////////////////////////////////////////////////
|
////////////////////////////////////////////////////
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
unit WSGrids;
|
unit WSGrids;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{$I lcl_defines.inc}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
////////////////////////////////////////////////////
|
////////////////////////////////////////////////////
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
unit WSImgList;
|
unit WSImgList;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{$I lcl_defines.inc}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
////////////////////////////////////////////////////
|
////////////////////////////////////////////////////
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
unit WSLazDeviceAPIS;
|
unit WSLazDeviceAPIS;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{$I lcl_defines.inc}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
////////////////////////////////////////////////////
|
////////////////////////////////////////////////////
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
unit WSLCLClasses;
|
unit WSLCLClasses;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{$I lcl_defines.inc}
|
||||||
|
|
||||||
{off$DEFINE VerboseWSRegistration}
|
{off$DEFINE VerboseWSRegistration}
|
||||||
{off$DEFINE VerboseWSRegistration_methods}
|
{off$DEFINE VerboseWSRegistration_methods}
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
unit WSMenus;
|
unit WSMenus;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{$I lcl_defines.inc}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
////////////////////////////////////////////////////
|
////////////////////////////////////////////////////
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
unit WSPairSplitter;
|
unit WSPairSplitter;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{$I lcl_defines.inc}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
////////////////////////////////////////////////////
|
////////////////////////////////////////////////////
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
unit WSProc;
|
unit WSProc;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{$I lcl_defines.inc}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
unit WSReferences;
|
unit WSReferences;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{$I lcl_defines.inc}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
unit WSSpin;
|
unit WSSpin;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{$I lcl_defines.inc}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
////////////////////////////////////////////////////
|
////////////////////////////////////////////////////
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
unit WSStdCtrls;
|
unit WSStdCtrls;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{$I lcl_defines.inc}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
////////////////////////////////////////////////////
|
////////////////////////////////////////////////////
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
{ $Id$}
|
|
||||||
{
|
{
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* WSToolwin.pp *
|
* WSToolwin.pp *
|
||||||
@ -23,6 +22,7 @@
|
|||||||
unit WSToolwin;
|
unit WSToolwin;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
{$I lcl_defines.inc}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
////////////////////////////////////////////////////
|
////////////////////////////////////////////////////
|
||||||
@ -65,4 +65,4 @@ implementation
|
|||||||
//initialization
|
//initialization
|
||||||
// RegisterWSComponent(TToolWindow, TWSToolWindow);
|
// RegisterWSComponent(TToolWindow, TWSToolWindow);
|
||||||
////////////////////////////////////////////////////
|
////////////////////////////////////////////////////
|
||||||
end.
|
end.
|
||||||
|
@ -3238,7 +3238,7 @@ var
|
|||||||
ReqFlags: TPkgIntfRequiredFlags;
|
ReqFlags: TPkgIntfRequiredFlags;
|
||||||
begin
|
begin
|
||||||
{$IFDEF VerbosePkgCompile}
|
{$IFDEF VerbosePkgCompile}
|
||||||
debugln('TLazPackageGraph.CompileRequiredPackages A ',dbgs(Policy));
|
debugln('TLazPackageGraph.CompileRequiredPackages A MinPolicy=',dbgs(Policy),' SkipDesignTimePackages=',SkipDesignTimePackages);
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
ReqFlags:=[pirCompileOrder];
|
ReqFlags:=[pirCompileOrder];
|
||||||
if SkipDesignTimePackages then
|
if SkipDesignTimePackages then
|
||||||
@ -3394,7 +3394,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
// create external tool to run the compiler
|
// create external tool to run the compiler
|
||||||
//DebugLn('TPkgManager.DoCompilePackage WorkingDir="',APackage.Directory,'"');
|
//DebugLn('TLazPackageGraph.CompilePackage WorkingDir="',APackage.Directory,'"');
|
||||||
|
|
||||||
if (not APackage.CompilerOptions.SkipCompiler)
|
if (not APackage.CompilerOptions.SkipCompiler)
|
||||||
and (not (pcfDoNotCompilePackage in Flags)) then begin
|
and (not (pcfDoNotCompilePackage in Flags)) then begin
|
||||||
|
Loading…
Reference in New Issue
Block a user