- [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:
2026-05-13 17:06:57 +02:00
parent a77a4bd364
commit 27c122f5bb
3 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ buildpath = build
[macos_debug] [macos_debug]
compiler = clang++ 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 libs = -lSDL3 -framework OpenGL
executable = mini_debug executable = mini_debug
sourcepath = source+ sourcepath = source+
+7
View File
@@ -1,6 +1,13 @@
#ifndef JA_USESDLMIXER #ifndef JA_USESDLMIXER
#include "jail_audio.h" #include "jail_audio.h"
// PA QUE CLANG NO RENEGUE
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wtautological-compare"
#include "external/stb_vorbis.h" #include "external/stb_vorbis.h"
#pragma clang diagnostic pop
// PA QUE CLANG NO RENEGUE
#include "other/log.h" #include "other/log.h"
#include <SDL3/SDL.h> #include <SDL3/SDL.h>
+1 -1
View File
@@ -1,3 +1,3 @@
#pragma once #pragma once
#define MINI_VERSION "1.5.6" #define MINI_VERSION "1.5.7"