lazres: using LazLogger instead of LCLProc to get debugln, turned off warnings 6058, issue

git-svn-id: branches/fixes_2_0@59793 -
This commit is contained in:
mattias 2018-12-11 10:22:06 +00:00
parent aa42a201a9
commit beb90ca5f1
2 changed files with 15 additions and 13 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?>
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<ProjectOptions>
<Version Value="9"/>
<Version Value="11"/>
<General>
<Flags>
<SaveClosedFiles Value="False"/>
@ -16,22 +16,24 @@
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
</General>
<MacroValues Count="1">
<Macro1 Name="LCLWidgetType" Value="nogui"/>
</MacroValues>
<BuildModes Count="1">
<Item1 Name="default" Default="True"/>
</BuildModes>
<PublishOptions>
<Version Value="2"/>
<IncludeFileFilter Value="*.(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml)"/>
<ExcludeFileFilter Value="*.(bak|ppu|ppw|o|so);*~;backup"/>
</PublishOptions>
<RunParams>
<local>
<FormatVersion Value="1"/>
<LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e bash -i -c '$(TargetCmdLine)'"/>
</local>
<FormatVersion Value="2"/>
<Modes Count="1">
<Mode0 Name="default">
<local>
<LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e bash -i -c '$(TargetCmdLine)'"/>
</local>
</Mode0>
</Modes>
</RunParams>
<RequiredPackages Count="1">
<Item1>
@ -55,13 +57,9 @@
</Debugging>
</Linking>
<Other>
<CompilerMessages>
<UseMsgFile Value="True"/>
</CompilerMessages>
<ConfigFile>
<ConfigFilePath Value="./fpc.cfg"/>
</ConfigFile>
<CompilerPath Value="$(CompPath)"/>
</Other>
</CompilerOptions>
</CONFIG>

View File

@ -35,8 +35,12 @@ program LazRes;
{$mode objfpc}{$H+}
{$IF FPC_FULLVERSION>=30301}
{$WARN 6058 off : Call to subroutine "$1" marked as inline is not inlined}
{$ENDIF}
uses
Classes, SysUtils, LCLProc, LResources, resource, reswriter,
Classes, SysUtils, LazLogger, LResources, resource, reswriter,
bitmapresource, groupresource, groupiconresource, groupcursorresource,
LazFileUtils, LazUTF8, LazUTF8Classes;