mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
Logo: silence GCC warnings by unsilencing CLANG warnings
This commit is contained in:
@@ -3,10 +3,7 @@
|
||||
#include "image.h"
|
||||
#include "common/library.h"
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wimplicit-int-float-conversion"
|
||||
#include <magick/MagickCore.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
static FF_LIBRARY_SYMBOL(ResizeImage)
|
||||
|
||||
|
||||
@@ -3,10 +3,7 @@
|
||||
#include "image.h"
|
||||
#include "common/library.h"
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wimplicit-int-float-conversion"
|
||||
#include <MagickCore/MagickCore.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
static FF_LIBRARY_SYMBOL(ResizeImage)
|
||||
|
||||
|
||||
@@ -392,15 +392,12 @@ static bool compressBlob(void** blob, size_t* length) {
|
||||
|
||||
#endif // FF_HAVE_ZLIB
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wimplicit-int-float-conversion"
|
||||
// We use only the defines from here, that are exactly the same in both versions
|
||||
#ifdef FF_HAVE_IMAGEMAGICK7
|
||||
#include <MagickCore/MagickCore.h>
|
||||
#else
|
||||
#include <magick/MagickCore.h>
|
||||
#endif
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
typedef struct ImageData {
|
||||
FF_LIBRARY_SYMBOL(CopyMagickString)
|
||||
|
||||
Reference in New Issue
Block a user