- [FIX] Afegit -Wno-deprecated al target macos_debug
- [FIX] Afegits pragma per a que clang no renegue amb una tautología defensiva de stb_vorbis
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ buildpath = build
|
||||
|
||||
[macos_debug]
|
||||
compiler = clang++
|
||||
cppflags = -D DEBUG -g -Wall -std=c++20 -Isource
|
||||
cppflags = -D DEBUG -g -Wall -Wno-deprecated -std=c++20 -Isource
|
||||
libs = -lSDL3 -framework OpenGL
|
||||
executable = mini_debug
|
||||
sourcepath = source+
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
#ifndef JA_USESDLMIXER
|
||||
#include "jail_audio.h"
|
||||
|
||||
// PA QUE CLANG NO RENEGUE
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wtautological-compare"
|
||||
#include "external/stb_vorbis.h"
|
||||
#pragma clang diagnostic pop
|
||||
// PA QUE CLANG NO RENEGUE
|
||||
|
||||
#include "other/log.h"
|
||||
|
||||
#include <SDL3/SDL.h>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
#define MINI_VERSION "1.5.6"
|
||||
#define MINI_VERSION "1.5.7"
|
||||
|
||||
Reference in New Issue
Block a user