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

A few adjustments for MSVC #67

Closed
wants to merge 1 commit into from
Closed

Conversation

Orvid
Copy link
Contributor

@Orvid Orvid commented Nov 11, 2015

The first is to use FOLLY_TLS rather than __thread.
The second is to not try to ignore some signals, because those signals don't exist under MSVC.
The final change is to switch parseHTTPDateTime to use the standard C++ function std::get_time rather than the posix function strptime to parse the times. This is because strptime is not available under MSVC. The format parameter of std::get_time is defined to be the same as strptime.

The first is to use `FOLLY_TLS` rather than `__thread`.
The second is to not try to ignore some signals, because those signals don't exist under MSVC.
The final change is to switch `parseHTTPDateTime` to use the standard C++ function `std::get_time` rather than the posix function `strptime` to parse the times. This is because `strptime` is not available under MSVC. The format parameter of `std::get_time` is [defined](http://en.cppreference.com/w/cpp/io/manip/get_time) to be the same as `strptime`.
@russoue
Copy link
Contributor

russoue commented Jan 7, 2016

Can you please update the patch with one of your suggestions, preferably the second one?

@Orvid
Copy link
Contributor Author

Orvid commented Feb 3, 2016

Moved internally to D2898241.

@Orvid Orvid closed this Feb 3, 2016
ghost pushed a commit that referenced this pull request Feb 4, 2016
Summary: Originally [Proxygen PR #67](#67), this makes a couple of adjustmenets to help make it possible to compile Proxygen under MSVC.

Reviewed By: afrind

Differential Revision: D2898241

Pulled By: Orvid

fb-gh-sync-id: f31418434ec0448de93e351fd9995c3a23acd4f8
facebook-github-bot pushed a commit that referenced this pull request Oct 16, 2020
…ps.py build (#67)

Summary:
Pull Request resolved: facebook/sapling#67

With this change it will be possible to build dependencies of and run integration tests using getdeps.py.

This is the first goal of Q4 as per https://fb.quip.com/v8YzAYNSYgot: "Get Open Source version of integration tests running on Legocastle".

Before this diff:
The OSS integration tests run now on GitHub by:
- Building some test dependencies with getdeps.py
- Building some test dependencies with homebrew/apt-get
- Running tests via python script

The OSS integration tests were not running on Sandcastle.

After this diff:
The OSS integration tests run on Github by:
- Building and executing tests via getdeps.py (execution of tests happens by getdeps.py calling Make calling python script)

The OSS integration tests run on Sandcastle using the same getdeps.py setup as Github.

Reviewed By: krallin

Differential Revision: D24253268

fbshipit-source-id: cae249b72d076222673b8bbe4ec21866dcdbb253
facebook-github-bot pushed a commit that referenced this pull request Mar 3, 2022
Summary:
X-link: facebookincubator/hsthrift#67

Updating `googletest` from `1.8.0` to `1.10.0`

Reviewed By: mzlee, igorsugak, luciang, meyering, r-barnes

Differential Revision: D34351084

fbshipit-source-id: 939b3985ab63a06b6d511ec8711c2d5863bdfea8
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.

3 participants