Skip to content

Workaround the Delphi XE3 Compiler Bug #120

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

Merged

Conversation

fabriciocolombo
Copy link
Contributor

Putting the initialization section into a third unit (DUnitX,Init) seems to solve the problem.
The extra unit needs to be added only for XE3 projects.
This workaround fixes #117.

@fabriciocolombo
Copy link
Contributor Author

WDYT this workaround @vincentparrett?

@vincentparrett
Copy link
Member

Interesting, it looks exactly like what I tried, but when I did the class constructor in TDUnitX didn't get called (probably another compiler bug), but it does seem to work in your pr! Merging, thx.

vincentparrett added a commit that referenced this pull request Jul 26, 2015
Workaround the Delphi XE3 Compiler Bug
@vincentparrett vincentparrett merged commit ebe004f into VSoftTechnologies:master Jul 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DUnitX causes Internal Compiler Error in XE3 Update 1
2 participants