Project

General

Profile

Bug #9921 ยป clang++.log

compiled with clang++ for additional error output. - ntzrmtthihu777 (Marty Plummer), 06/08/2014 11:27 PM

 
1
In file included from test.cpp:2:
2
In file included from C:/msys64/mingw64/include/ruby-2.1.0\ruby.h:33:
3
In file included from C:/msys64/mingw64/include/ruby-2.1.0/ruby/ruby.h:29:
4
In file included from C:/msys64/mingw64/include/ruby-2.1.0/ruby/defines.h:217:
5
C:/msys64/mingw64/include/ruby-2.1.0\ruby/win32.h:752:12: error: expected unqualified-id
6
struct tm *gmtime_r(const time_t *, struct tm *);
7
           ^
8
C:\msys64\mingw64\bin/../x86_64-w64-mingw32/include\pthread.h:421:30: note: expanded from macro 'gmtime_r'
9
#define gmtime_r(_Time,_Tm)     ({ struct tm *___tmp_tm; pthread_testcancel(); ___tmp_tm = gmtime((_Time)); if (___tmp_tm) { *(_Tm) = *___tmp_tm; ___tmp_tm = (_Tm); } ___tmp_tm; })
10
                                 ^
11
In file included from test.cpp:2:
12
In file included from C:/msys64/mingw64/include/ruby-2.1.0\ruby.h:33:
13
In file included from C:/msys64/mingw64/include/ruby-2.1.0/ruby/ruby.h:29:
14
In file included from C:/msys64/mingw64/include/ruby-2.1.0/ruby/defines.h:217:
15
C:/msys64/mingw64/include/ruby-2.1.0\ruby/win32.h:752:12: error: expected ')'
16
C:\msys64\mingw64\bin/../x86_64-w64-mingw32/include\pthread.h:421:30: note: expanded from macro 'gmtime_r'
17
#define gmtime_r(_Time,_Tm)     ({ struct tm *___tmp_tm; pthread_testcancel(); ___tmp_tm = gmtime((_Time)); if (___tmp_tm) { *(_Tm) = *___tmp_tm; ___tmp_tm = (_Tm); } ___tmp_tm; })
18
                                 ^
19
C:/msys64/mingw64/include/ruby-2.1.0\ruby/win32.h:752:12: note: to match this '('
20
C:\msys64\mingw64\bin/../x86_64-w64-mingw32/include\pthread.h:421:29: note: expanded from macro 'gmtime_r'
21
#define gmtime_r(_Time,_Tm)     ({ struct tm *___tmp_tm; pthread_testcancel(); ___tmp_tm = gmtime((_Time)); if (___tmp_tm) { *(_Tm) = *___tmp_tm; ___tmp_tm = (_Tm); } ___tmp_tm; })
22
                                ^
23
In file included from test.cpp:2:
24
In file included from C:/msys64/mingw64/include/ruby-2.1.0\ruby.h:33:
25
In file included from C:/msys64/mingw64/include/ruby-2.1.0/ruby/ruby.h:29:
26
In file included from C:/msys64/mingw64/include/ruby-2.1.0/ruby/defines.h:217:
27
C:/msys64/mingw64/include/ruby-2.1.0\ruby/win32.h:753:12: error: expected unqualified-id
28
struct tm *localtime_r(const time_t *, struct tm *);
29
           ^
30
C:\msys64\mingw64\bin/../x86_64-w64-mingw32/include\pthread.h:418:34: note: expanded from macro 'localtime_r'
31
#define localtime_r(_Time, _Tm) ({ struct tm *___tmp_tm; pthread_testcancel(); ___tmp_tm = localtime((_Time)); if (___tmp_tm) { *(_Tm) = *___tmp_tm; ___tmp_tm = (_Tm); } ___tmp_tm; })
32
                                 ^
33
In file included from test.cpp:2:
34
In file included from C:/msys64/mingw64/include/ruby-2.1.0\ruby.h:33:
35
In file included from C:/msys64/mingw64/include/ruby-2.1.0/ruby/ruby.h:29:
36
In file included from C:/msys64/mingw64/include/ruby-2.1.0/ruby/defines.h:217:
37
C:/msys64/mingw64/include/ruby-2.1.0\ruby/win32.h:753:12: error: expected ')'
38
C:\msys64\mingw64\bin/../x86_64-w64-mingw32/include\pthread.h:418:34: note: expanded from macro 'localtime_r'
39
#define localtime_r(_Time, _Tm) ({ struct tm *___tmp_tm; pthread_testcancel(); ___tmp_tm = localtime((_Time)); if (___tmp_tm) { *(_Tm) = *___tmp_tm; ___tmp_tm = (_Tm); } ___tmp_tm; })
40
                                 ^
41
C:/msys64/mingw64/include/ruby-2.1.0\ruby/win32.h:753:12: note: to match this '('
42
C:\msys64\mingw64\bin/../x86_64-w64-mingw32/include\pthread.h:418:33: note: expanded from macro 'localtime_r'
43
#define localtime_r(_Time, _Tm) ({ struct tm *___tmp_tm; pthread_testcancel(); ___tmp_tm = localtime((_Time)); if (___tmp_tm) { *(_Tm) = *___tmp_tm; ___tmp_tm = (_Tm); } ___tmp_tm; })
44
                                ^
45
4 errors generated.