Project

General

Profile

Bug #9921 » clang++.log

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

 
In file included from test.cpp:2:
In file included from C:/msys64/mingw64/include/ruby-2.1.0\ruby.h:33:
In file included from C:/msys64/mingw64/include/ruby-2.1.0/ruby/ruby.h:29:
In file included from C:/msys64/mingw64/include/ruby-2.1.0/ruby/defines.h:217:
C:/msys64/mingw64/include/ruby-2.1.0\ruby/win32.h:752:12: error: expected unqualified-id
struct tm *gmtime_r(const time_t *, struct tm *);
^
C:\msys64\mingw64\bin/../x86_64-w64-mingw32/include\pthread.h:421:30: note: expanded from macro 'gmtime_r'
#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; })
^
In file included from test.cpp:2:
In file included from C:/msys64/mingw64/include/ruby-2.1.0\ruby.h:33:
In file included from C:/msys64/mingw64/include/ruby-2.1.0/ruby/ruby.h:29:
In file included from C:/msys64/mingw64/include/ruby-2.1.0/ruby/defines.h:217:
C:/msys64/mingw64/include/ruby-2.1.0\ruby/win32.h:752:12: error: expected ')'
C:\msys64\mingw64\bin/../x86_64-w64-mingw32/include\pthread.h:421:30: note: expanded from macro 'gmtime_r'
#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; })
^
C:/msys64/mingw64/include/ruby-2.1.0\ruby/win32.h:752:12: note: to match this '('
C:\msys64\mingw64\bin/../x86_64-w64-mingw32/include\pthread.h:421:29: note: expanded from macro 'gmtime_r'
#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; })
^
In file included from test.cpp:2:
In file included from C:/msys64/mingw64/include/ruby-2.1.0\ruby.h:33:
In file included from C:/msys64/mingw64/include/ruby-2.1.0/ruby/ruby.h:29:
In file included from C:/msys64/mingw64/include/ruby-2.1.0/ruby/defines.h:217:
C:/msys64/mingw64/include/ruby-2.1.0\ruby/win32.h:753:12: error: expected unqualified-id
struct tm *localtime_r(const time_t *, struct tm *);
^
C:\msys64\mingw64\bin/../x86_64-w64-mingw32/include\pthread.h:418:34: note: expanded from macro 'localtime_r'
#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; })
^
In file included from test.cpp:2:
In file included from C:/msys64/mingw64/include/ruby-2.1.0\ruby.h:33:
In file included from C:/msys64/mingw64/include/ruby-2.1.0/ruby/ruby.h:29:
In file included from C:/msys64/mingw64/include/ruby-2.1.0/ruby/defines.h:217:
C:/msys64/mingw64/include/ruby-2.1.0\ruby/win32.h:753:12: error: expected ')'
C:\msys64\mingw64\bin/../x86_64-w64-mingw32/include\pthread.h:418:34: note: expanded from macro 'localtime_r'
#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; })
^
C:/msys64/mingw64/include/ruby-2.1.0\ruby/win32.h:753:12: note: to match this '('
C:\msys64\mingw64\bin/../x86_64-w64-mingw32/include\pthread.h:418:33: note: expanded from macro 'localtime_r'
#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; })
^
4 errors generated.
(2-2/2)