Skip to content

Instantly share code, notes, and snippets.

@abelsromero
Created July 21, 2017 06:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abelsromero/6094629117024c36d0337be83ecb9cc1 to your computer and use it in GitHub Desktop.
Save abelsromero/6094629117024c36d0337be83ecb9cc1 to your computer and use it in GitHub Desktop.
Compile errors for ReGoth on MinGW with MSYS2
[ 56%] Building C object lib/openal-soft/CMakeFiles/OpenAL32.dir/OpenAL32/alAuxEffectSlot.c.obj
In file included from C:/home/bin/msys64/usr/include/stdio.h:61:0,
from C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/OpenAL32/Include/alMain.h:5,
from C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:28:
C:/home/bin/msys64/usr/include/sys/types.h:129:18: error: conflicting types for 'time_t'
typedef _TIME_T_ time_t;
^~~~~~
In file included from C:/home/bin/msys64/mingw64/x86_64-w64-mingw32/include/stddef.h:7:0,
from C:/home/bin/msys64/mingw64/lib/gcc/x86_64-w64-mingw32/7.1.0/include/stddef.h:1,
from C:/home/bin/msys64/usr/include/stdlib.h:16,
from C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:23:
C:/home/bin/msys64/mingw64/x86_64-w64-mingw32/include/crtdefs.h:138:20: note: previous declaration of 'time_t' was here
typedef __time64_t time_t;
^~~~~~
In file included from C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/AL/alext.h:27:0,
from C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/OpenAL32/Include/alMain.h:21,
from C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:28:
C:/home/bin/msys64/usr/include/inttypes.h:23:0: warning: "__STRINGIFY" redefined
#define __STRINGIFY(a) #a
In file included from C:/home/bin/msys64/mingw64/x86_64-w64-mingw32/include/_mingw.h:12:0,
from C:/home/bin/msys64/mingw64/x86_64-w64-mingw32/include/crtdefs.h:10,
from C:/home/bin/msys64/mingw64/x86_64-w64-mingw32/include/stddef.h:7,
from C:/home/bin/msys64/mingw64/lib/gcc/x86_64-w64-mingw32/7.1.0/include/stddef.h:1,
from C:/home/bin/msys64/usr/include/stdlib.h:16,
from C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:23:
C:/home/bin/msys64/mingw64/x86_64-w64-mingw32/include/_mingw_mac.h:10:0: note: this is the location of the previous definition
#define __STRINGIFY(x) #x
In file included from C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:14:0,
from C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/OpenAL32/Include/alMain.h:35,
from C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:28:
C:/home/bin/msys64/usr/include/stdatomic.h: In function 'atomic_flag_test_and_set_explicit':
C:/home/bin/msys64/usr/include/stdatomic.h:270:31: error: request for member '__val' in something not a structure or union
__atomic_exchange_n(&(object)->__val, desired, order)
^
C:/home/bin/msys64/usr/include/stdatomic.h:386:10: note: in expansion of macro 'atomic_exchange_explicit'
return (atomic_exchange_explicit(&__object->__flag, 1, __order));
^~~~~~~~~~~~~~~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h: In function 'atomic_flag_clear_explicit':
C:/home/bin/msys64/usr/include/stdatomic.h:284:28: error: request for member '__val' in something not a structure or union
__atomic_store_n(&(object)->__val, desired, order)
^
C:/home/bin/msys64/usr/include/stdatomic.h:393:2: note: in expansion of macro 'atomic_store_explicit'
atomic_store_explicit(&__object->__flag, 0, __order);
^~~~~~~~~~~~~~~~~~~~~
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h: In function 'InitRef':
C:/home/bin/msys64/usr/include/stdatomic.h:90:47: error: request for member '__val' in something not a structure or union
#define atomic_init(obj, value) ((void)((obj)->__val = (value)))
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:27:37: note: in expansion of macro 'atomic_init'
#define ATOMIC_INIT(_val, _newval) atomic_init((_val), (_newval))
^~~~~~~~~~~
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:367:3: note: in expansion of macro 'ATOMIC_INIT'
{ ATOMIC_INIT(ptr, value); }
^~~~~~~~~~~
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h: In function 'ReadRef':
C:/home/bin/msys64/usr/include/stdatomic.h:282:27: error: request for member '__val' in something not a structure or union
__atomic_load_n(&(object)->__val, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:31:33: note: in expansion of macro 'atomic_load_explicit'
#define ATOMIC_LOAD(_val, _MO) atomic_load_explicit(_val, _MO)
^~~~~~~~~~~~~~~~~~~~
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:350:31: note: in expansion of macro 'ATOMIC_LOAD'
#define ATOMIC_LOAD_SEQ(_val) ATOMIC_LOAD(_val, almemory_order_seq_cst)
^~~~~~~~~~~
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:369:10: note: in expansion of macro 'ATOMIC_LOAD_SEQ'
{ return ATOMIC_LOAD_SEQ(ptr); }
^~~~~~~~~~~~~~~
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h: In function 'IncrementRef':
C:/home/bin/msys64/usr/include/stdatomic.h:272:30: error: request for member '__val' in something not a structure or union
__atomic_fetch_add(&(object)->__val, operand, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:34:38: note: in expansion of macro 'atomic_fetch_add_explicit'
#define ATOMIC_ADD(_val, _incr, _MO) atomic_fetch_add_explicit(_val, _incr, _MO)
^~~~~~~~~~~~~~~~~~~~~~~~~
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:353:37: note: in expansion of macro 'ATOMIC_ADD'
#define ATOMIC_ADD_SEQ(_val, _incr) ATOMIC_ADD(_val, _incr, almemory_order_seq_cst)
^~~~~~~~~~
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:371:10: note: in expansion of macro 'ATOMIC_ADD_SEQ'
{ return ATOMIC_ADD_SEQ(ptr, 1)+1; }
^~~~~~~~~~~~~~
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h: In function 'DecrementRef':
C:/home/bin/msys64/usr/include/stdatomic.h:278:30: error: request for member '__val' in something not a structure or union
__atomic_fetch_sub(&(object)->__val, operand, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:35:38: note: in expansion of macro 'atomic_fetch_sub_explicit'
#define ATOMIC_SUB(_val, _decr, _MO) atomic_fetch_sub_explicit(_val, _decr, _MO)
^~~~~~~~~~~~~~~~~~~~~~~~~
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:354:37: note: in expansion of macro 'ATOMIC_SUB'
#define ATOMIC_SUB_SEQ(_val, _decr) ATOMIC_SUB(_val, _decr, almemory_order_seq_cst)
^~~~~~~~~~
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:373:10: note: in expansion of macro 'ATOMIC_SUB_SEQ'
{ return ATOMIC_SUB_SEQ(ptr, 1)-1; }
^~~~~~~~~~~~~~
In file included from C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:14:0,
from C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/OpenAL32/Include/alMain.h:35,
from C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:28:
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c: In function 'alGenAuxiliaryEffectSlots':
C:/home/bin/msys64/usr/include/stdatomic.h:284:28: error: 'last->next' is a pointer; did you mean to use '->'?
__atomic_store_n(&(object)->__val, desired, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:32:42: note: in expansion of macro 'atomic_store_explicit'
#define ATOMIC_STORE(_val, _newval, _MO) atomic_store_explicit(_val, _newval, _MO)
^~~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:110:18: note: in expansion of macro 'ATOMIC_STORE'
if(last) ATOMIC_STORE(&last->next, slot, almemory_order_relaxed);
^~~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h:282:27: error: 'context->ActiveAuxSlotList' is a pointer; did you mean to use '->'?
__atomic_load_n(&(object)->__val, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:31:33: note: in expansion of macro 'atomic_load_explicit'
#define ATOMIC_LOAD(_val, _MO) atomic_load_explicit(_val, _MO)
^~~~~~~~~~~~~~~~~~~~
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:350:31: note: in expansion of macro 'ATOMIC_LOAD'
#define ATOMIC_LOAD_SEQ(_val) ATOMIC_LOAD(_val, almemory_order_seq_cst)
^~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:117:30: note: in expansion of macro 'ATOMIC_LOAD_SEQ'
ALeffectslot *root = ATOMIC_LOAD_SEQ(&context->ActiveAuxSlotList);
^~~~~~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h:284:28: error: 'last->next' is a pointer; did you mean to use '->'?
__atomic_store_n(&(object)->__val, desired, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:32:42: note: in expansion of macro 'atomic_store_explicit'
#define ATOMIC_STORE(_val, _newval, _MO) atomic_store_explicit(_val, _newval, _MO)
^~~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:119:13: note: in expansion of macro 'ATOMIC_STORE'
ATOMIC_STORE(&last->next, root, almemory_order_relaxed);
^~~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h:267:39: error: 'context->ActiveAuxSlotList' is a pointer; did you mean to use '->'?
__atomic_compare_exchange_n(&(object)->__val, expected, \
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:41:5: note: in expansion of macro 'atomic_compare_exchange_weak_explicit'
atomic_compare_exchange_weak_explicit(_val, _orig, _newval, _MO1, _MO2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:360:5: note: in expansion of macro 'ATOMIC_COMPARE_EXCHANGE_WEAK'
ATOMIC_COMPARE_EXCHANGE_WEAK(T, _val, _oldval, _newval, almemory_order_seq_cst, almemory_order_seq_cst)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:120:18: note: in expansion of macro 'ATOMIC_COMPARE_EXCHANGE_WEAK_SEQ'
} while(!ATOMIC_COMPARE_EXCHANGE_WEAK_SEQ(ALeffectslot*, &context->ActiveAuxSlotList,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c: In function 'alAuxiliaryEffectSloti':
C:/home/bin/msys64/usr/include/stdatomic.h:282:27: error: request for member '__val' in something not a structure or union
__atomic_load_n(&(object)->__val, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:31:33: note: in expansion of macro 'atomic_load_explicit'
#define ATOMIC_LOAD(_val, _MO) atomic_load_explicit(_val, _MO)
^~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:60:9: note: in expansion of macro 'ATOMIC_LOAD'
if(!ATOMIC_LOAD(&context->DeferUpdates, almemory_order_acquire)) \
^~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:227:5: note: in expansion of macro 'DO_UPDATEPROPS'
DO_UPDATEPROPS();
^~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c: In function 'alAuxiliaryEffectSlotf':
C:/home/bin/msys64/usr/include/stdatomic.h:282:27: error: request for member '__val' in something not a structure or union
__atomic_load_n(&(object)->__val, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:31:33: note: in expansion of macro 'atomic_load_explicit'
#define ATOMIC_LOAD(_val, _MO) atomic_load_explicit(_val, _MO)
^~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:60:9: note: in expansion of macro 'ATOMIC_LOAD'
if(!ATOMIC_LOAD(&context->DeferUpdates, almemory_order_acquire)) \
^~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:287:5: note: in expansion of macro 'DO_UPDATEPROPS'
DO_UPDATEPROPS();
^~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c: In function 'RemoveEffectSlotList':
C:/home/bin/msys64/usr/include/stdatomic.h:282:27: error: 'slot->next' is a pointer; did you mean to use '->'?
__atomic_load_n(&(object)->__val, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:31:33: note: in expansion of macro 'atomic_load_explicit'
#define ATOMIC_LOAD(_val, _MO) atomic_load_explicit(_val, _MO)
^~~~~~~~~~~~~~~~~~~~
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:350:31: note: in expansion of macro 'ATOMIC_LOAD'
#define ATOMIC_LOAD_SEQ(_val) ATOMIC_LOAD(_val, almemory_order_seq_cst)
^~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:439:12: note: in expansion of macro 'ATOMIC_LOAD_SEQ'
next = ATOMIC_LOAD_SEQ(&slot->next);
^~~~~~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h:263:39: error: 'context->ActiveAuxSlotList' is a pointer; did you mean to use '->'?
__atomic_compare_exchange_n(&(object)->__val, expected, \
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:39:5: note: in expansion of macro 'atomic_compare_exchange_strong_explicit'
atomic_compare_exchange_strong_explicit(_val, _orig, _newval, _MO1, _MO2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:358:5: note: in expansion of macro 'ATOMIC_COMPARE_EXCHANGE_STRONG'
ATOMIC_COMPARE_EXCHANGE_STRONG(T, _val, _oldval, _newval, almemory_order_seq_cst, almemory_order_seq_cst)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:440:9: note: in expansion of macro 'ATOMIC_COMPARE_EXCHANGE_STRONG_SEQ'
if(!ATOMIC_COMPARE_EXCHANGE_STRONG_SEQ(ALeffectslot*, &context->ActiveAuxSlotList, &root, next))
^
C:/home/bin/msys64/usr/include/stdatomic.h:263:39: error: 'cur->next' is a pointer; did you mean to use '->'?
__atomic_compare_exchange_n(&(object)->__val, expected, \
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:39:5: note: in expansion of macro 'atomic_compare_exchange_strong_explicit'
atomic_compare_exchange_strong_explicit(_val, _orig, _newval, _MO1, _MO2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:358:5: note: in expansion of macro 'ATOMIC_COMPARE_EXCHANGE_STRONG'
ATOMIC_COMPARE_EXCHANGE_STRONG(T, _val, _oldval, _newval, almemory_order_seq_cst, almemory_order_seq_cst)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:446:18: note: in expansion of macro 'ATOMIC_COMPARE_EXCHANGE_STRONG_SEQ'
} while(!ATOMIC_COMPARE_EXCHANGE_STRONG_SEQ(ALeffectslot*, &cur->next, &root, next));
^
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c: In function 'InitializeEffect':
C:/home/bin/msys64/usr/include/stdatomic.h:282:27: error: 'EffectSlot->FreeList' is a pointer; did you mean to use '->'?
__atomic_load_n(&(object)->__val, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:31:33: note: in expansion of macro 'atomic_load_explicit'
#define ATOMIC_LOAD(_val, _MO) atomic_load_explicit(_val, _MO)
^~~~~~~~~~~~~~~~~~~~
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:350:31: note: in expansion of macro 'ATOMIC_LOAD'
#define ATOMIC_LOAD_SEQ(_val) ATOMIC_LOAD(_val, almemory_order_seq_cst)
^~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:530:13: note: in expansion of macro 'ATOMIC_LOAD_SEQ'
props = ATOMIC_LOAD_SEQ(&EffectSlot->FreeList);
^~~~~~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h:270:31: error: 'props->State' is a pointer; did you mean to use '->'?
__atomic_exchange_n(&(object)->__val, desired, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:37:48: note: in expansion of macro 'atomic_exchange_explicit'
#define ATOMIC_EXCHANGE(T, _val, _newval, _MO) atomic_exchange_explicit(_val, _newval, _MO)
^~~~~~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:533:17: note: in expansion of macro 'ATOMIC_EXCHANGE'
State = ATOMIC_EXCHANGE(ALeffectState*, &props->State, NULL, almemory_order_relaxed);
^~~~~~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h:282:27: error: 'props->next' is a pointer; did you mean to use '->'?
__atomic_load_n(&(object)->__val, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:31:33: note: in expansion of macro 'atomic_load_explicit'
#define ATOMIC_LOAD(_val, _MO) atomic_load_explicit(_val, _MO)
^~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:535:17: note: in expansion of macro 'ATOMIC_LOAD'
props = ATOMIC_LOAD(&props->next, almemory_order_relaxed);
^~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c: In function 'InitEffectSlot':
C:/home/bin/msys64/usr/include/stdatomic.h:90:47: error: 'slot->Update' is a pointer; did you mean to use '->'?
#define atomic_init(obj, value) ((void)((obj)->__val = (value)))
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:27:37: note: in expansion of macro 'atomic_init'
#define ATOMIC_INIT(_val, _newval) atomic_init((_val), (_newval))
^~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:586:5: note: in expansion of macro 'ATOMIC_INIT'
ATOMIC_INIT(&slot->Update, NULL);
^~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h:90:47: error: 'slot->FreeList' is a pointer; did you mean to use '->'?
#define atomic_init(obj, value) ((void)((obj)->__val = (value)))
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:27:37: note: in expansion of macro 'atomic_init'
#define ATOMIC_INIT(_val, _newval) atomic_init((_val), (_newval))
^~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:587:5: note: in expansion of macro 'ATOMIC_INIT'
ATOMIC_INIT(&slot->FreeList, NULL);
^~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h:90:47: error: 'slot->next' is a pointer; did you mean to use '->'?
#define atomic_init(obj, value) ((void)((obj)->__val = (value)))
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:27:37: note: in expansion of macro 'atomic_init'
#define ATOMIC_INIT(_val, _newval) atomic_init((_val), (_newval))
^~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:597:5: note: in expansion of macro 'ATOMIC_INIT'
ATOMIC_INIT(&slot->next, NULL);
^~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c: In function 'DeinitEffectSlot':
C:/home/bin/msys64/usr/include/stdatomic.h:282:27: error: 'slot->Update' is a pointer; did you mean to use '->'?
__atomic_load_n(&(object)->__val, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:31:33: note: in expansion of macro 'atomic_load_explicit'
#define ATOMIC_LOAD(_val, _MO) atomic_load_explicit(_val, _MO)
^~~~~~~~~~~~~~~~~~~~
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:350:31: note: in expansion of macro 'ATOMIC_LOAD'
#define ATOMIC_LOAD_SEQ(_val) ATOMIC_LOAD(_val, almemory_order_seq_cst)
^~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:608:13: note: in expansion of macro 'ATOMIC_LOAD_SEQ'
props = ATOMIC_LOAD_SEQ(&slot->Update);
^~~~~~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h:282:27: error: 'props->State' is a pointer; did you mean to use '->'?
__atomic_load_n(&(object)->__val, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:31:33: note: in expansion of macro 'atomic_load_explicit'
#define ATOMIC_LOAD(_val, _MO) atomic_load_explicit(_val, _MO)
^~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:611:17: note: in expansion of macro 'ATOMIC_LOAD'
state = ATOMIC_LOAD(&props->State, almemory_order_relaxed);
^~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h:282:27: error: 'slot->FreeList' is a pointer; did you mean to use '->'?
__atomic_load_n(&(object)->__val, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:31:33: note: in expansion of macro 'atomic_load_explicit'
#define ATOMIC_LOAD(_val, _MO) atomic_load_explicit(_val, _MO)
^~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:616:13: note: in expansion of macro 'ATOMIC_LOAD'
props = ATOMIC_LOAD(&slot->FreeList, almemory_order_relaxed);
^~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h:282:27: error: 'props->State' is a pointer; did you mean to use '->'?
__atomic_load_n(&(object)->__val, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:31:33: note: in expansion of macro 'atomic_load_explicit'
#define ATOMIC_LOAD(_val, _MO) atomic_load_explicit(_val, _MO)
^~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:620:17: note: in expansion of macro 'ATOMIC_LOAD'
state = ATOMIC_LOAD(&props->State, almemory_order_relaxed);
^~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h:282:27: error: 'props->next' is a pointer; did you mean to use '->'?
__atomic_load_n(&(object)->__val, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:31:33: note: in expansion of macro 'atomic_load_explicit'
#define ATOMIC_LOAD(_val, _MO) atomic_load_explicit(_val, _MO)
^~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:621:16: note: in expansion of macro 'ATOMIC_LOAD'
next = ATOMIC_LOAD(&props->next, almemory_order_relaxed);
^~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c: In function 'UpdateEffectSlotProps':
C:/home/bin/msys64/usr/include/stdatomic.h:282:27: error: 'slot->FreeList' is a pointer; did you mean to use '->'?
__atomic_load_n(&(object)->__val, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:31:33: note: in expansion of macro 'atomic_load_explicit'
#define ATOMIC_LOAD(_val, _MO) atomic_load_explicit(_val, _MO)
^~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:640:13: note: in expansion of macro 'ATOMIC_LOAD'
props = ATOMIC_LOAD(&slot->FreeList, almemory_order_relaxed);
^~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h:282:27: error: 'props->next' is a pointer; did you mean to use '->'?
__atomic_load_n(&(object)->__val, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:31:33: note: in expansion of macro 'atomic_load_explicit'
#define ATOMIC_LOAD(_val, _MO) atomic_load_explicit(_val, _MO)
^~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:647:20: note: in expansion of macro 'ATOMIC_LOAD'
next = ATOMIC_LOAD(&props->next, almemory_order_relaxed);
^~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h:267:39: error: 'slot->FreeList' is a pointer; did you mean to use '->'?
__atomic_compare_exchange_n(&(object)->__val, expected, \
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:41:5: note: in expansion of macro 'atomic_compare_exchange_weak_explicit'
atomic_compare_exchange_weak_explicit(_val, _orig, _newval, _MO1, _MO2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:648:17: note: in expansion of macro 'ATOMIC_COMPARE_EXCHANGE_WEAK'
} while(ATOMIC_COMPARE_EXCHANGE_WEAK(struct ALeffectslotProps*,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h:284:28: error: request for member '__val' in something not a structure or union
__atomic_store_n(&(object)->__val, desired, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:32:42: note: in expansion of macro 'atomic_store_explicit'
#define ATOMIC_STORE(_val, _newval, _MO) atomic_store_explicit(_val, _newval, _MO)
^~~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:654:5: note: in expansion of macro 'ATOMIC_STORE'
ATOMIC_STORE(&props->Gain, slot->Gain, almemory_order_relaxed);
^~~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h:284:28: error: request for member '__val' in something not a structure or union
__atomic_store_n(&(object)->__val, desired, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:32:42: note: in expansion of macro 'atomic_store_explicit'
#define ATOMIC_STORE(_val, _newval, _MO) atomic_store_explicit(_val, _newval, _MO)
^~~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:655:5: note: in expansion of macro 'ATOMIC_STORE'
ATOMIC_STORE(&props->AuxSendAuto, slot->AuxSendAuto, almemory_order_relaxed);
^~~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h:284:28: error: request for member '__val' in something not a structure or union
__atomic_store_n(&(object)->__val, desired, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:32:42: note: in expansion of macro 'atomic_store_explicit'
#define ATOMIC_STORE(_val, _newval, _MO) atomic_store_explicit(_val, _newval, _MO)
^~~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:657:5: note: in expansion of macro 'ATOMIC_STORE'
ATOMIC_STORE(&props->Type, slot->Effect.Type, almemory_order_relaxed);
^~~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h:270:31: error: 'props->State' is a pointer; did you mean to use '->'?
__atomic_exchange_n(&(object)->__val, desired, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:37:48: note: in expansion of macro 'atomic_exchange_explicit'
#define ATOMIC_EXCHANGE(T, _val, _newval, _MO) atomic_exchange_explicit(_val, _newval, _MO)
^~~~~~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:663:16: note: in expansion of macro 'ATOMIC_EXCHANGE'
oldstate = ATOMIC_EXCHANGE(ALeffectState*, &props->State, slot->Effect.State,
^~~~~~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h:270:31: error: 'slot->Update' is a pointer; did you mean to use '->'?
__atomic_exchange_n(&(object)->__val, desired, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:37:48: note: in expansion of macro 'atomic_exchange_explicit'
#define ATOMIC_EXCHANGE(T, _val, _newval, _MO) atomic_exchange_explicit(_val, _newval, _MO)
^~~~~~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:667:13: note: in expansion of macro 'ATOMIC_EXCHANGE'
props = ATOMIC_EXCHANGE(struct ALeffectslotProps*, &slot->Update, props,
^~~~~~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h:282:27: error: 'slot->FreeList' is a pointer; did you mean to use '->'?
__atomic_load_n(&(object)->__val, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:31:33: note: in expansion of macro 'atomic_load_explicit'
#define ATOMIC_LOAD(_val, _MO) atomic_load_explicit(_val, _MO)
^~~~~~~~~~~~~~~~~~~~
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:381:16: note: in expansion of macro 'ATOMIC_LOAD'
T _first = ATOMIC_LOAD(_head, almemory_order_acquire); \
^~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:674:9: note: in expansion of macro 'ATOMIC_REPLACE_HEAD'
ATOMIC_REPLACE_HEAD(struct ALeffectslotProps*, &slot->FreeList, props);
^~~~~~~~~~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h:284:28: error: 'props->next' is a pointer; did you mean to use '->'?
__atomic_store_n(&(object)->__val, desired, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:32:42: note: in expansion of macro 'atomic_store_explicit'
#define ATOMIC_STORE(_val, _newval, _MO) atomic_store_explicit(_val, _newval, _MO)
^~~~~~~~~~~~~~~~~~~~~
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:383:9: note: in expansion of macro 'ATOMIC_STORE'
ATOMIC_STORE(&(_entry)->next, _first, almemory_order_relaxed); \
^~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:674:9: note: in expansion of macro 'ATOMIC_REPLACE_HEAD'
ATOMIC_REPLACE_HEAD(struct ALeffectslotProps*, &slot->FreeList, props);
^~~~~~~~~~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h:267:39: error: 'slot->FreeList' is a pointer; did you mean to use '->'?
__atomic_compare_exchange_n(&(object)->__val, expected, \
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:41:5: note: in expansion of macro 'atomic_compare_exchange_weak_explicit'
atomic_compare_exchange_weak_explicit(_val, _orig, _newval, _MO1, _MO2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:384:13: note: in expansion of macro 'ATOMIC_COMPARE_EXCHANGE_WEAK'
} while(ATOMIC_COMPARE_EXCHANGE_WEAK(T, _head, &_first, _entry, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:674:9: note: in expansion of macro 'ATOMIC_REPLACE_HEAD'
ATOMIC_REPLACE_HEAD(struct ALeffectslotProps*, &slot->FreeList, props);
^~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c: In function 'UpdateAllEffectSlotProps':
C:/home/bin/msys64/usr/include/stdatomic.h:282:27: error: 'context->ActiveAuxSlotList' is a pointer; did you mean to use '->'?
__atomic_load_n(&(object)->__val, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:31:33: note: in expansion of macro 'atomic_load_explicit'
#define ATOMIC_LOAD(_val, _MO) atomic_load_explicit(_val, _MO)
^~~~~~~~~~~~~~~~~~~~
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:350:31: note: in expansion of macro 'ATOMIC_LOAD'
#define ATOMIC_LOAD_SEQ(_val) ATOMIC_LOAD(_val, almemory_order_seq_cst)
^~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:686:12: note: in expansion of macro 'ATOMIC_LOAD_SEQ'
slot = ATOMIC_LOAD_SEQ(&context->ActiveAuxSlotList);
^~~~~~~~~~~~~~~
C:/home/bin/msys64/usr/include/stdatomic.h:282:27: error: 'slot->next' is a pointer; did you mean to use '->'?
__atomic_load_n(&(object)->__val, order)
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:31:33: note: in expansion of macro 'atomic_load_explicit'
#define ATOMIC_LOAD(_val, _MO) atomic_load_explicit(_val, _MO)
^~~~~~~~~~~~~~~~~~~~
C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:692:16: note: in expansion of macro 'ATOMIC_LOAD'
slot = ATOMIC_LOAD(&slot->next, almemory_order_relaxed);
^~~~~~~~~~~
In file included from C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/OpenAL32/Include/alMain.h:35:0,
from C:\home\bin\msys64\home\my_user\temp\REGoth\lib\openal-soft\OpenAL32\alAuxEffectSlot.c:28:
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h: In function 'DecrementRef':
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:373:1: warning: control reaches end of non-void function [-Wreturn-type]
{ return ATOMIC_SUB_SEQ(ptr, 1)-1; }
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h: In function 'ReadRef':
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:369:1: warning: control reaches end of non-void function [-Wreturn-type]
{ return ATOMIC_LOAD_SEQ(ptr); }
^
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h: In function 'IncrementRef':
C:/home/bin/msys64/home/my_user/temp/REGoth/lib/openal-soft/include/atomic.h:371:1: warning: control reaches end of non-void function [-Wreturn-type]
{ return ATOMIC_ADD_SEQ(ptr, 1)+1; }
^
mingw32-make[2]: *** [lib\openal-soft\CMakeFiles\OpenAL32.dir\build.make:63: lib/openal-soft/CMakeFiles/OpenAL32.dir/OpenAL32/alAuxEffectSlot.c.obj] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:1470: lib/openal-soft/CMakeFiles/OpenAL32.dir/all] Error 2
mingw32-make: *** [Makefile:129: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment