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

Fix e00908f: Visual C++ 2015 compile error #6945

Merged
merged 1 commit into from Oct 27, 2018

Conversation

nielsmh
Copy link
Contributor

@nielsmh nielsmh commented Oct 27, 2018

Microsoft Visual C++ 2015 Update 3 (and possibly other versions) consider a struct member undefined in a
static_assert in the struct body. Moving the static_assert to a member function solves the issue.

Microsoft Visual C++ 2015 Update 3 (and possibly other versions) consider a struct member undefined in a
static_assert in the struct body. Moving the static_assert to a member function solves the issue.
@nielsmh nielsmh merged commit 50efaa2 into OpenTTD:master Oct 27, 2018
@nielsmh nielsmh deleted the fix-e00908f branch January 5, 2019 17:04
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.

None yet

2 participants