drop -fkeep-inline-functions #543

pull/555/head
nick black 4 years ago
parent d4f71405d2
commit 2f904449a7
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

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

@ -7,21 +7,6 @@
#include <OpenImageIO/imagebufalgo.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 {
int packet_outstanding;
int dstwidth, dstheight;

Loading…
Cancel
Save