Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: fix compilation problems on MSVC #233

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 3 commits into from
Feb 8, 2021
Merged

feat: fix compilation problems on MSVC #233

merged 3 commits into from
Feb 8, 2021

Conversation

coryan
Copy link
Contributor

@coryan coryan commented Feb 7, 2021

Most of the problems were around setenv() and getenv(), which I
solved by writing a small wrappers. Kept std::getenv() in the
examples, because that is most familiar to C++ developers, had to turn
off warnings from MSVC about it though.

Avoid googletest regex because they are unsupported with MSVC

Fix executable paths in integration tests

Most of the problems were around `setenv()` and `getenv()`, which I
solved by writing a small wrappers. Kept `std::getenv()` in the
examples, because that is most familiar to C++ developers, had to turn
off warnings from MSVC about it though.

Avoid googletest regex because they are unsupported with MSVC

Fix executable paths in integration tests
@coryan coryan marked this pull request as ready for review February 7, 2021 20:34
@coryan coryan requested a review from a team as a code owner February 7, 2021 20:34
@coryan coryan merged commit 6569016 into GoogleCloudPlatform:main Feb 8, 2021
@coryan coryan deleted the feat-compile-with-msvc branch February 8, 2021 05:03
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.

2 participants