diff --git a/CMakeLists.txt b/CMakeLists.txt index 163a7e0f6..f96d6bac1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 diff --git a/src/lib/oiio.cpp b/src/lib/oiio.cpp index 1683e55f3..de11a1cf2 100644 --- a/src/lib/oiio.cpp +++ b/src/lib/oiio.cpp @@ -7,21 +7,6 @@ #include #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;