Skip to content

Comments

fix issue 18354 - [Reg 2.078] Building fails with VC 2015 Build Tools#7828

Merged
wilzbach merged 1 commit intodlang:stablefrom
rainers:issue18354
Feb 3, 2018
Merged

fix issue 18354 - [Reg 2.078] Building fails with VC 2015 Build Tools#7828
wilzbach merged 1 commit intodlang:stablefrom
rainers:issue18354

Conversation

@rainers
Copy link
Member

@rainers rainers commented Feb 1, 2018

replace VS version check with check for existence of legacy_stdio_definitions.lib

cherry-picked from #7500

@rainers rainers requested a review from WalterBright as a code owner February 1, 2018 19:06
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @rainers!

Bugzilla references

Auto-close Bugzilla Description
18354 [Reg 2.078] Building fails with VC 2015 Build Tools

src/dmd/link.d Outdated
OutBuffer cmdbuf;
if (auto p = getVCDir(VCDir.Lib, x64))
if (auto vclibdir = getVCDir(VCDir.Lib, x64))
if (vclibdir)
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't this if unnecessary?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ooops, merge error. Removed and amended.

@wilzbach
Copy link
Contributor

wilzbach commented Feb 2, 2018

Shouldn't this have been caught by AppVeyor? Any way we can ensure that it doesn't regress in the future?

@JinShil
Copy link
Contributor

JinShil commented Feb 2, 2018

Shouldn't this have been caught by AppVeyor?

AppVeyor doesn't appear to be running on stable.

@wilzbach wilzbach closed this Feb 2, 2018
@wilzbach wilzbach reopened this Feb 2, 2018
@wilzbach wilzbach closed this Feb 2, 2018
@wilzbach wilzbach reopened this Feb 2, 2018
@wilzbach
Copy link
Contributor

wilzbach commented Feb 2, 2018

AppVeyor doesn't appear to be running on stable.

Ah that's probably due to

image

@rainers
Copy link
Member Author

rainers commented Feb 2, 2018

Shouldn't this have been caught by AppVeyor? Any way we can ensure that it doesn't regress in the future?

No, this only happens if no Visual Studio is installed, but the VC++ Build Tools. Last time I tried, the latter couldn't even be installed if there is already a VS installation on the system.

@wilzbach wilzbach merged commit 4e13abe into dlang:stable Feb 3, 2018
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.

4 participants