Skip to content

Workaround the Delphi XE3 Compiler Bug - #120

Merged
vincentparrett merged 1 commit into
VSoftTechnologies:masterfrom
fabriciocolombo:fix-XE3-bug
Jul 26, 2015
Merged

vincentparrett merged 1 commit into
VSoftTechnologies:masterfrom
fabriciocolombo:fix-XE3-bug

Conversation

@fabriciocolombo

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

WDYT this workaround @vincentparrett?

@vincentparrett

Copy link
Copy Markdown
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