Skip to content

Instantly share code, notes, and snippets.

@hanetzer
Created June 8, 2014 02:12
Show Gist options
  • Save hanetzer/e81aaa9cd95277bf9991 to your computer and use it in GitHub Desktop.
Save hanetzer/e81aaa9cd95277bf9991 to your computer and use it in GitHub Desktop.
mkxp win32.h include issue
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-mri.cpp:25:
In file included from C:/Users/The_NetZ/mkxp/src\eventthread.h:28:
In file included from C:/msys64/mingw64/include/SDL2\SDL_scancode.h:31:
In file included from C:/msys64/mingw64/include/SDL2/SDL_stdinc.h:31:
C:/msys64/mingw64/include/SDL2/SDL_config.h:49:9: warning: 'SIZEOF_VOIDP' macro redefined [-Wmacro-redefined]
#define SIZEOF_VOIDP 4
^
C:/msys64/mingw64/include/ruby-2.1.0/x64-mingw32\ruby/config.h:53:9: note: previous definition is here
#define SIZEOF_VOIDP 8
^
1 warning generated.
In file included from C:/Users/The_NetZ/mkxp/binding-mri/etc-binding.cpp:22:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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:428:30: note: expanded from macro 'gmtime_r'
#define gmtime_r(_Time,_Tm) ({ struct tm *___tmp_tm; \
^
In file included from C:/Users/The_NetZ/mkxp/binding-mri/etc-binding.cpp:22:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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:428:30: note: expanded from macro 'gmtime_r'
#define gmtime_r(_Time,_Tm) ({ struct 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:428:29: note: expanded from macro 'gmtime_r'
#define gmtime_r(_Time,_Tm) ({ struct tm *___tmp_tm; \
^
In file included from C:/Users/The_NetZ/mkxp/binding-mri/etc-binding.cpp:22:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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; \
^
In file included from C:/Users/The_NetZ/mkxp/binding-mri/etc-binding.cpp:22:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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; \
^
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; \
^
4 errors generated.
make[2]: *** [CMakeFiles/mkxp.dir/binding-mri/etc-binding.cpp.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from C:/Users/The_NetZ/mkxp/binding-mri/bitmap-binding.cpp:25:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/disposable-binding.h:26:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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:428:30: note: expanded from macro 'gmtime_r'
#define gmtime_r(_Time,_Tm) ({ struct tm *___tmp_tm; \
^
In file included from C:/Users/The_NetZ/mkxp/binding-mri/bitmap-binding.cpp:25:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/disposable-binding.h:26:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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:428:30: note: expanded from macro 'gmtime_r'
#define gmtime_r(_Time,_Tm) ({ struct 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:428:29: note: expanded from macro 'gmtime_r'
#define gmtime_r(_Time,_Tm) ({ struct tm *___tmp_tm; \
^
In file included from C:/Users/The_NetZ/mkxp/binding-mri/bitmap-binding.cpp:25:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/disposable-binding.h:26:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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; \
^
In file included from C:/Users/The_NetZ/mkxp/binding-mri/bitmap-binding.cpp:25:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/disposable-binding.h:26:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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; \
^
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; \
^
4 errors generated.
make[2]: *** [CMakeFiles/mkxp.dir/binding-mri/bitmap-binding.cpp.obj] Error 1
In file included from C:/Users/The_NetZ/mkxp/binding-mri/font-binding.cpp:23:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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:428:30: note: expanded from macro 'gmtime_r'
#define gmtime_r(_Time,_Tm) ({ struct tm *___tmp_tm; \
^
In file included from C:/Users/The_NetZ/mkxp/binding-mri/font-binding.cpp:23:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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:428:30: note: expanded from macro 'gmtime_r'
#define gmtime_r(_Time,_Tm) ({ struct 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:428:29: note: expanded from macro 'gmtime_r'
#define gmtime_r(_Time,_Tm) ({ struct tm *___tmp_tm; \
^
In file included from C:/Users/The_NetZ/mkxp/binding-mri/font-binding.cpp:23:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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; \
^
In file included from C:/Users/The_NetZ/mkxp/binding-mri/font-binding.cpp:23:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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; \
^
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; \
^
4 errors generated.
make[2]: *** [CMakeFiles/mkxp.dir/binding-mri/font-binding.cpp.obj] Error 1
In file included from C:/Users/The_NetZ/mkxp/binding-mri/graphics-binding.cpp:24:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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:428:30: note: expanded from macro 'gmtime_r'
#define gmtime_r(_Time,_Tm) ({ struct tm *___tmp_tm; \
^
In file included from C:/Users/The_NetZ/mkxp/binding-mri/graphics-binding.cpp:24:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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:428:30: note: expanded from macro 'gmtime_r'
#define gmtime_r(_Time,_Tm) ({ struct 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:428:29: note: expanded from macro 'gmtime_r'
#define gmtime_r(_Time,_Tm) ({ struct tm *___tmp_tm; \
^
In file included from C:/Users/The_NetZ/mkxp/binding-mri/graphics-binding.cpp:24:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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; \
^
In file included from C:/Users/The_NetZ/mkxp/binding-mri/graphics-binding.cpp:24:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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; \
^
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; \
^
4 errors generated.
make[2]: *** [CMakeFiles/mkxp.dir/binding-mri/graphics-binding.cpp.obj] Error 1
In file included from C:/Users/The_NetZ/mkxp/binding-mri/input-binding.cpp:25:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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:428:30: note: expanded from macro 'gmtime_r'
#define gmtime_r(_Time,_Tm) ({ struct tm *___tmp_tm; \
^
In file included from C:/Users/The_NetZ/mkxp/binding-mri/input-binding.cpp:25:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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:428:30: note: expanded from macro 'gmtime_r'
#define gmtime_r(_Time,_Tm) ({ struct 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:428:29: note: expanded from macro 'gmtime_r'
#define gmtime_r(_Time,_Tm) ({ struct tm *___tmp_tm; \
^
In file included from C:/Users/The_NetZ/mkxp/binding-mri/input-binding.cpp:25:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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; \
^
In file included from C:/Users/The_NetZ/mkxp/binding-mri/input-binding.cpp:25:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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; \
^
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; \
^
In file included from C:/Users/The_NetZ/mkxp/binding-mri/sprite-binding.cpp:23:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/disposable-binding.h:26:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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:428:30: note: expanded from macro 'gmtime_r'
#define gmtime_r(_Time,_Tm) ({ struct tm *___tmp_tm; \
^
In file included from C:/Users/The_NetZ/mkxp/binding-mri/sprite-binding.cpp:23:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/disposable-binding.h:26:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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:428:30: note: expanded from macro 'gmtime_r'
#define gmtime_r(_Time,_Tm) ({ struct 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:428:29: note: expanded from macro 'gmtime_r'
#define gmtime_r(_Time,_Tm) ({ struct tm *___tmp_tm; \
^
In file included from C:/Users/The_NetZ/mkxp/binding-mri/sprite-binding.cpp:23:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/disposable-binding.h:26:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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; \
^
In file included from C:/Users/The_NetZ/mkxp/binding-mri/sprite-binding.cpp:23:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/disposable-binding.h:26:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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; \
^
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; \
^
4 errors generated.
make[2]: *** [CMakeFiles/mkxp.dir/binding-mri/input-binding.cpp.obj] Error 1
4 errors generated.
make[2]: *** [CMakeFiles/mkxp.dir/binding-mri/sprite-binding.cpp.obj] Error 1
In file included from C:/Users/The_NetZ/mkxp/binding-mri/viewport-binding.cpp:23:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/disposable-binding.h:26:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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:428:30: note: expanded from macro 'gmtime_r'
#define gmtime_r(_Time,_Tm) ({ struct tm *___tmp_tm; \
^
In file included from C:/Users/The_NetZ/mkxp/binding-mri/viewport-binding.cpp:23:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/disposable-binding.h:26:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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:428:30: note: expanded from macro 'gmtime_r'
#define gmtime_r(_Time,_Tm) ({ struct 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:428:29: note: expanded from macro 'gmtime_r'
#define gmtime_r(_Time,_Tm) ({ struct tm *___tmp_tm; \
^
In file included from C:/Users/The_NetZ/mkxp/binding-mri/viewport-binding.cpp:23:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/disposable-binding.h:26:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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; \
^
In file included from C:/Users/The_NetZ/mkxp/binding-mri/viewport-binding.cpp:23:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/disposable-binding.h:26:
In file included from C:/Users/The_NetZ/mkxp/binding-mri/binding-util.h:25:
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; \
^
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; \
^
4 errors generated.
make[2]: *** [CMakeFiles/mkxp.dir/binding-mri/viewport-binding.cpp.obj] Error 1
make[1]: *** [CMakeFiles/mkxp.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment