Project

General

Profile

Actions

Bug #9921

closed

gmtime_r, win32.h, and <string>

Added by ntzrmtthihu777 (Marty Plummer) almost 10 years ago. Updated almost 2 years ago.

Status:
Feedback
Assignee:
-
Target version:
-
ruby -v:
2.1.2p95
[ruby-core:63001]

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

g++.log (3.56 KB) g++.log error log ntzrmtthihu777 (Marty Plummer), 06/08/2014 11:27 PM
clang++.log (3.59 KB) clang++.log compiled with clang++ for additional error output. ntzrmtthihu777 (Marty Plummer), 06/08/2014 11:27 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0