Skip to content

Adjust includes in sample.h, Date.h, and Datetime.h for MinGW #611

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 1 commit into from
Dec 13, 2016

Conversation

nathan-russell
Copy link
Contributor

This addresses two build errors related to MinGW:

  • ::alloca is defined in malloc.h instead of alloca.h (sample.h)
  • ::strftime and localtime (Datetime.h only) were not being found (Date.h and Datetime.h)

@codecov-io
Copy link

Current coverage is 62.42% (diff: 100%)

Merging #611 into master will not change coverage

@@             master       #611   diff @@
==========================================
  Files            69         69          
  Lines          4798       4798          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           2995       2995          
  Misses         1803       1803          
  Partials          0          0          

Powered by Codecov. Last update 07e045e...ad4f5e0

@eddelbuettel eddelbuettel merged commit 2a0d5b3 into RcppCore:master Dec 13, 2016
@nathan-russell nathan-russell deleted the bugfix/mingw-headers branch April 23, 2017 23:11
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.

3 participants