Skip to content

This works around the MSVC headers reporting incorrect clang version #199

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
merged 2 commits into from
Jan 10, 2021

Conversation

smaillet
Copy link
Member

@smaillet smaillet commented Jan 9, 2021

  • Corrected build scripts to allow VS pre-release versions.
  • Updated to CPPSharp 0.10.2 (NOTE: 0.10.3-0.10.5 have distinct issues that trigger a dereference of NULL in native code)

With this change and VS 16.9 preview 2 or later you can build with the following PowerShell command:

.\Build-All.ps1 -AllowVsPreReleases

NOTE: This requires VS 16.9 Preview 2 or later to work

This is related to #197 though it isn't really a fix for it as the fix is in VS

…ersion. (Also requires VS 16.9 Preview 2)

*Corrected build scripts to allow VS pre-release versions.
* Updated to CPPSharp 0.10.2 (NOTE: 0.10.3-0.10.5 have issues that trigger a dereference of NULL in native code)
@smaillet
Copy link
Member Author

smaillet commented Jan 9, 2021

Well... Now we have an interesting problem/dilemma... Need to look at configuring build for preview vs releases...

@smaillet
Copy link
Member Author

smaillet commented Jan 9, 2021

Sadly, it looks like GitHub doesn't support that. So, it may be necessary to patch the problematic header "on the fly" in the bindings generator... [Or just wait for VS 16.9 but that could be months - no idea what the release schedule is for that]

… bug preventing parsing with LibClang

* updated Build-Interop with calls to build and run PatchVsForLibClang to allow the build to complete until an official release from MS is available.
@smaillet smaillet merged commit 91b386f into UbiquityDotNET:develop Jan 10, 2021
@smaillet smaillet deleted the VSPrerelease branch January 11, 2021 16:22
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.

1 participant