Skip to content

Commit

Permalink
improve comfiler config by make compilation relax on warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
zamronypj committed Jan 3, 2022
1 parent 7bd1f58 commit bf3bc68
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,27 @@ implementation
[rfReplaceAll]
)
);

//Indy library causing some warnings during compilation so we need
//to make it stop compilation only on error with -Se rather than -Sew
fWriter.write(
baseDirectory + '/build.dev.cfg',
StringReplace(
fReader.read(baseDirectory + '/build.dev.cfg'),
'-Sew',
'-Se',
[rfReplaceAll]
)
);
fWriter.write(
baseDirectory + '/build.dev.cfg.sample',
StringReplace(
fReader.read(baseDirectory + '/build.dev.cfg.sample'),
'-Sew',
'-Se',
[rfReplaceAll]
)
);
end;
result := self;
end;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ strReadme: string =
'$ cd fano-app' + LineEnding +
'$ ./tools/config.setup.sh' + LineEnding +
'```' + LineEnding +
'' + LineEnding +
'Open `.env` file and edit `INDY_DIR` environment variable to match your Indy directory (no trailing slash).' + LineEnding +
'```' + LineEnding +
'$ ./build.sh' + LineEnding +
Expand Down

0 comments on commit bf3bc68

Please sign in to comment.