Actions
Bug #9921
closedgmtime_r, win32.h, and <string>
Description
Found an interesting/annoying issue, using ruby 2.1.2p95 on windows via the msys2 project;
seems there is an issue regarding compiling programs including and "ruby.h" using mingw's g++.
The following test program fails to compile:
#include
#include "ruby.h"
int main() {
return(0);
}
Files
Updated by phasis68 (Heesob Park) almost 11 years ago
I guess error messages about gmtime_r must be solved with #include <ctime>
#include <ctime>
#include <string>
#include "ruby.h"
int main() {
return(0);
}
Updated by ntzrmtthihu777 (Marty Plummer) almost 11 years ago
Interesting indeed, I wonder how feasible it would be within my actual program...
Heesob Park wrote:
I guess error messages about gmtime_r must be solved with
#include <ctime>
#include <ctime> #include <string> #include "ruby.h" int main() { return(0); }
Updated by mame (Yusuke Endoh) almost 3 years ago
- Tags changed from build, maybenotbug to build, maybenotbug, win
- Status changed from Open to Feedback
Does this still reproduce?
Actions
Like0
Like0Like0Like0