Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upEnable building on Windows #1
Conversation
An attempt to install the package on Windows (after removing the OS
restriction) resulted in the following warning:
datetime.c:102:14: warning: 'tzname' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
extern char *tzname[2];
^
The fix is to declare tzname with the dllimport attribute, as was done
for Cygwin.
While researching how R itself configures this block of code, I learned
that USE_INTERNAL_MKTIME is set by default. It is unset if configure
determines that the system tools behave reasonably. It's set by default
on MacOS, and it's what is used on Windows.
ecec441
into
eddelbuettel:master
Codecov Report
@@ Coverage Diff @@
## master #1 +/- ##
=======================================
Coverage 53.24% 53.24%
=======================================
Files 5 5
Lines 971 971
=======================================
Hits 517 517
Misses 454 454
Continue to review full report at Codecov.
|
An attempt to install the package on Windows (after removing the OS
restriction) resulted in the following warning:
The fix is to declare tzname with the dllimport attribute, as was done
for Cygwin.
While researching how R itself configures this block of code, I learned
that USE_INTERNAL_MKTIME is set by default. It is unset if configure
determines that the system tools behave reasonably. It's set by default
on MacOS, and it's what is used on Windows.