g_audio_dats.c: In function 'audio_sound_play':/home/d4v3y/ATS2-Postiats-0.4.0/ccomp/runtime/pats_ccomp_instrset.h:276:35: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]#define ATSINSmove(tmp, val) (tmp = val)
g_audio_dats.c: In function 'audio_music_play':g_audio_dats.c:931:11: error: storage size of 'tmpref41' isn't knownATStmpdec(tmpref41, Mix_Music) ;^~~~~~~~/home/d4v3y/ATS2-Postiats-0.4.0/ccomp/runtime/pats_ccomp_instrset.h:209:33: note: in definition of macro 'ATStmpdec'#define ATStmpdec(tmp, hit) hit tmp^~~/home/d4v3y/ATS2-Postiats-0.4.0/ccomp/runtime/pats_ccomp_instrset.h:217:29: error: dereferencing pointer to incomplete type 'Mix_Music' {aka 'struct _Mix_Music'}#define ATSderef(pmv, hit) (*(hit*)pmv)
--
You received this message because you are subscribed to the Google Groups "ats-lang-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ats-lang-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/e3db4fac-0969-406f-aaa5-02b3b2145a84%40googlegroups.com.
g_audio_dats.c: In function 'audio_sound_play':/home/d4v3y/ATS2-Postiats-0.4.0/ccomp/runtime/pats_ccomp_instrset.h:276:35: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]#define ATSINSmove(tmp, val) (tmp = val)
--
In file included from g_audio_dats.c:15:g_audio_dats.c: In function 'audio_sound_play':/home/d4v3y/ATS2-Postiats-0.4.0/ccomp/runtime/pats_ccomp_instrset.h:276:35: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#define ATSINSmove(tmp, val) (tmp = val)
^g_audio_dats.c:753:1: note: in expansion of macro 'ATSINSmove'ATSINSmove(tmp36, Mix_GetError()) ;^~~~~~~~~~
g_audio_dats.c: In function 'audio_music_play':g_audio_dats.c:931:11: error: storage size of 'tmpref41' isn't knownATStmpdec(tmpref41, Mix_Music) ;^~~~~~~~/home/d4v3y/ATS2-Postiats-0.4.0/ccomp/runtime/pats_ccomp_instrset.h:209:33: note: in definition of macro 'ATStmpdec'#define ATStmpdec(tmp, hit) hit tmp^~~/home/d4v3y/ATS2-Postiats-0.4.0/ccomp/runtime/pats_ccomp_instrset.h:217:29: error: dereferencing pointer to incomplete type 'Mix_Music' {aka 'struct _Mix_Music'}#define ATSderef(pmv, hit) (*(hit*)pmv)
/home/d4v3y/ATS2-Postiats-0.4.0/ccomp/runtime/pats_ccomp_instrset.h:276:37: note: in definition of macro 'ATSINSmove'
#define ATSINSmove(tmp, val) (tmp = val)
^~~g_audio_dats.c:960:22: note: in expansion of macro 'ATSSELrecsin'ATSINSmove(tmpref41, ATSSELrecsin(ATSderef(arg0, Mix_Music), Mix_Music, atslab__handle)) ;^~~~~~~~~~~~g_audio_dats.c:960:35: note: in expansion of macro 'ATSderef'ATSINSmove(tmpref41, ATSSELrecsin(ATSderef(arg0, Mix_Music), Mix_Music, atslab__handle)) ;^~~~~~~~/home/d4v3y/ATS2-Postiats-0.4.0/ccomp/runtime/pats_ccomp_instrset.h:276:35: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#define ATSINSmove(tmp, val) (tmp = val)
^g_audio_dats.c:999:1: note: in expansion of macro 'ATSINSmove'ATSINSmove(tmp50, Mix_GetError()) ;^~~~~~~~~~make: *** [Makefile:63: obj/g_audio_dats.o] Error 1
To unsubscribe from this group and stop receiving emails from it, send an email to ats-lan...@googlegroups.com.
g_audio_dats.c: In function 'audio_music_play':g_audio_dats.c:931:11: error: storage size of 'tmpref41' isn't knownATStmpdec(tmpref41, Mix_Music) ;^~~~~~~~/home/d4v3y/ATS2-Postiats-0.4.0/ccomp/runtime/pats_ccomp_instrset.h:209:33: note: in definition of macro 'ATStmpdec'#define ATStmpdec(tmp, hit) hit tmp^~~/home/d4v3y/ATS2-Postiats-0.4.0/ccomp/runtime/pats_ccomp_instrset.h:217:29: error: dereferencing pointer to incomplete type 'Mix_Music' {aka 'struct _Mix_Music'}#define ATSderef(pmv, hit) (*(hit*)pmv)/home/d4v3y/ATS2-Postiats-0.4.0/ccomp/runtime/pats_ccomp_instrset.h:276:37: note: in definition of macro 'ATSINSmove'#define ATSINSmove(tmp, val) (tmp = val)^~~g_audio_dats.c:960:22: note: in expansion of macro 'ATSSELrecsin'ATSINSmove(tmpref41, ATSSELrecsin(ATSderef(arg0, Mix_Music), Mix_Music, atslab__handle)) ;^~~~~~~~~~~~g_audio_dats.c:960:35: note: in expansion of macro 'ATSderef'ATSINSmove(tmpref41, ATSSELrecsin(ATSderef(arg0, Mix_Music), Mix_Music, atslab__handle)) ;^~~~~~~~
make: *** [Makefile:63: obj/g_audio_dats.o] Error 1