Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(developer): remove compile.pas and CompileErrorCodes.pas #9924

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

mcdurdin
Copy link
Member

@mcdurdin mcdurdin commented Nov 2, 2023

Fixes #9923.

These are no longer used because we now use kmc for builds. This also means that the kmcomp-x64-structures test is no longer required, because that was used to keep the Delphi and C++ structures in sync.

There are some minor details around error message identifiers that are still present in a handful of places, but they are work for another time.

@keymanapp-test-bot skip

Fixes #9923.

These are no longer used because we now use kmc for builds. This also
means that the kmcomp-x64-structures test is no longer required, because
that was used to keep the Delphi and C++ structures in sync.

There are some minor details around error message identifiers that are
still present in a handful of places, but they are work for another
time.
@keymanapp-test-bot
Copy link

keymanapp-test-bot bot commented Nov 2, 2023

Comment on lines +14 to +17
const
// TODO: these are still used for messages raised from the IDE, perhaps need to be factored out
CERR_ERROR = $00004000;
CERR_WARNING = $00002000;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These came out of compile.pas

Comment on lines -1168 to -1174
function ProjectCompilerMessage(line: Integer; msgcode: LongWord; text: PAnsiChar): Integer; stdcall; // I3310 // I4694
begin
Result := ProjectCompilerMessageW(line, msgcode, String_AtoU(text));
end;

function ProjectCompilerMessageW(line: Integer; msgcode: LongWord; const text: string): Integer; // I3310 // I4694
const // from compile.pas
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These functions no longer used because they were part of the old compiler.pas interface.

Copy link
Contributor

@rc-swag rc-swag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcdurdin mcdurdin merged commit 3e3fb92 into master Nov 6, 2023
3 checks passed
@mcdurdin mcdurdin deleted the chore/developer/remove-CompileErrorCodes branch November 6, 2023 03:57
@keyman-server
Copy link
Collaborator

Changes in this pull request will be available for download in Keyman version 17.0.206-alpha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chore(developer): remove legacy CompileErrorCodes.pas
3 participants