mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 09:40:27 +02:00
IDE: changed default config value for compiler options use ansistrings to true
git-svn-id: trunk@26172 -
This commit is contained in:
parent
16b503ab91
commit
d5bbf14bd0
@ -805,7 +805,7 @@ var
|
||||
implementation
|
||||
|
||||
const
|
||||
CompilerOptionsVersion = 8;
|
||||
CompilerOptionsVersion = 9;
|
||||
Config_Filename = 'compileroptions.xml';
|
||||
|
||||
function ParseString(Options: TParsedCompilerOptions;
|
||||
@ -1395,7 +1395,7 @@ begin
|
||||
CStyleMacros := XMLConfigFile.GetValue(p+'CStyleMacros/Value', false);
|
||||
InitConstructor := XMLConfigFile.GetValue(p+'InitConstructor/Value', false);
|
||||
StaticKeyword := XMLConfigFile.GetValue(p+'StaticKeyword/Value', false);
|
||||
UseAnsiStrings := XMLConfigFile.GetValue(p+'UseAnsiStrings/Value', false);
|
||||
UseAnsiStrings := XMLConfigFile.GetValue(p+'UseAnsiStrings/Value', FileVersion>=9);
|
||||
|
||||
{ CodeGeneration }
|
||||
p:=Path+'CodeGeneration/';
|
||||
@ -1593,7 +1593,7 @@ begin
|
||||
XMLConfigFile.SetDeleteValue(p+'CStyleMacros/Value', CStyleMacros,false);
|
||||
XMLConfigFile.SetDeleteValue(p+'InitConstructor/Value', InitConstructor,false);
|
||||
XMLConfigFile.SetDeleteValue(p+'StaticKeyword/Value', StaticKeyword,false);
|
||||
XMLConfigFile.SetDeleteValue(p+'UseAnsiStrings/Value', UseAnsiStrings,false);
|
||||
XMLConfigFile.SetDeleteValue(p+'UseAnsiStrings/Value', UseAnsiStrings,true);
|
||||
|
||||
{ CodeGeneration }
|
||||
p:=Path+'CodeGeneration/';
|
||||
|
Loading…
Reference in New Issue
Block a user