mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-18 03:25:55 +00:00
drop -fkeep-inline-functions #543
This commit is contained in:
parent
d4f71405d2
commit
2f904449a7
@ -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…
Reference in New Issue
Block a user