mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-28 11:17:47 +00:00
Added Clang++ std flag c++11
This commit is contained in:
parent
ffc697c54a
commit
6b9424b029
2 changed files with 4 additions and 4 deletions
|
@ -69,7 +69,7 @@
|
|||
#ifdef QB64_WINDOWS
|
||||
#define ZERO_VARIABLE(_v_) ZeroMemory(&(_v_), sizeof(_v_))
|
||||
#else
|
||||
#define ZERO_VARIABLE(_v_) memset(&(_v_), NULL, sizeof(_v_))
|
||||
#define ZERO_VARIABLE(_v_) memset(&(_v_), 0, sizeof(_v_))
|
||||
#endif
|
||||
//-----------------------------------------------------------------------------------------------------
|
||||
|
||||
|
@ -2119,7 +2119,7 @@ mem_block func__memsound(int32_t handle, int32_t targetChannel)
|
|||
AUDIO_DEBUG_PRINT("Data source data pointer = %p", ds->pNode->data.backend.decoded.pData);
|
||||
|
||||
// Query the data format
|
||||
if (ma_sound_get_data_format(&audioEngine.soundHandles[handle]->maSound, &maFormat, &channels, NULL, NULL, NULL) != MA_SUCCESS)
|
||||
if (ma_sound_get_data_format(&audioEngine.soundHandles[handle]->maSound, &maFormat, &channels, NULL, NULL, 0) != MA_SUCCESS)
|
||||
{
|
||||
AUDIO_DEBUG_PRINT("Data format query failed");
|
||||
goto error;
|
||||
|
|
|
@ -26,8 +26,8 @@ clang -c -D LIBXMP_CORE_PLAYER -D LIBXMP_NO_PROWIZARD -D LIBXMP_NO_DEPACKERS -D
|
|||
clang -c -D LIBXMP_CORE_PLAYER -D LIBXMP_NO_PROWIZARD -D LIBXMP_NO_DEPACKERS -D BUILDING_STATIC ../../extras/libxmp-lite/smix.c -o temp/smix.o
|
||||
clang -c -D LIBXMP_CORE_PLAYER -D LIBXMP_NO_PROWIZARD -D LIBXMP_NO_DEPACKERS -D BUILDING_STATIC ../../extras/libxmp-lite/virtual.c -o temp/virtual.o
|
||||
clang -c -D LIBXMP_CORE_PLAYER -D LIBXMP_NO_PROWIZARD -D LIBXMP_NO_DEPACKERS -D BUILDING_STATIC ../../extras/libxmp-lite/xm_load.c -o temp/xm_load.o
|
||||
clang++ -c ../../audio.cpp -o temp/audio.o
|
||||
clang++ -c ../../miniaudio_impl.cpp -o temp/miniaudio_impl.o
|
||||
clang++ -c -std=c++11 ../../audio.cpp -o temp/audio.o
|
||||
clang++ -c -std=c++11 ../../miniaudio_impl.cpp -o temp/miniaudio_impl.o
|
||||
|
||||
ar rcs src.a temp/common.o temp/control.o temp/dataio.o temp/effects.o temp/filter.o temp/format.o temp/hio.o temp/it_load.o temp/itsex.o temp/lfo.o temp/load.o temp/load_helpers.o temp/md5.o temp/memio.o temp/misc.o temp/mix_all.o temp/mixer.o temp/mod_load.o temp/period.o temp/player.o temp/read_event.o temp/s3m_load.o temp/sample.o temp/scan.o temp/smix.o temp/virtual.o temp/xm_load.o temp/audio.o temp/miniaudio_impl.o
|
||||
|
||||
|
|
Loading…
Reference in a new issue