drop -fkeep-inline-functions #543

This commit is contained in:
nick black 2020-04-27 03:24:37 -04:00
parent d4f71405d2
commit 2f904449a7
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
2 changed files with 2 additions and 17 deletions

View File

@ -171,11 +171,11 @@ endif()
target_compile_options(notcurses target_compile_options(notcurses
PRIVATE PRIVATE
-Wall -Wextra -W -Wshadow -Wformat -fkeep-inline-functions ${DEBUG_OPTIONS} -Wall -Wextra -W -Wshadow -Wformat ${DEBUG_OPTIONS}
) )
target_compile_options(notcurses-static target_compile_options(notcurses-static
PRIVATE PRIVATE
-Wall -Wextra -W -Wshadow -Wformat -fkeep-inline-functions ${DEBUG_OPTIONS} -Wall -Wextra -W -Wshadow -Wformat ${DEBUG_OPTIONS}
) )
target_compile_definitions(notcurses target_compile_definitions(notcurses
PUBLIC PUBLIC

View File

@ -7,21 +7,6 @@
#include <OpenImageIO/imagebufalgo.h> #include <OpenImageIO/imagebufalgo.h>
#include "internal.h" #include "internal.h"
// this garbage is thanks to https://github.com/dankamongmen/notcurses/issues/541
// and https://github.com/OpenImageIO/oiio/issues/2566. fml. FIXME kill this.
namespace OpenImageIO_v2_1::ImageBufAlgo {
ImageBuf OIIO_API from_IplImage (const struct IplImage *ipl,
TypeDesc convert){
ImageBuf dst;
if (!ipl) {
dst.errorf("Passed NULL source IplImage");
return dst;
}
return dst;
(void)convert;
}
}
typedef struct ncvisual { typedef struct ncvisual {
int packet_outstanding; int packet_outstanding;
int dstwidth, dstheight; int dstwidth, dstheight;