• Emanuele Aina's avatar
    CppLibraryExample: Silence warnings coming from Mildenhall · a01fd327
    Emanuele Aina authored
    Mildenhall headers aren't really set up to be used from C++ so they
    triggers some warnings that make the build fail due to `-Werror`:
    
        In file included from cpp-library-example/CppLibraryExample.cpp:20:
        /usr/include/mildenhall-0/mildenhall/mildenhall.h:19:32: error: option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [-Werror=pragmas]
         #pragma GCC diagnostic ignored "-Wstrict-prototypes"
                                        ^~~~~~~~~~~~~~~~~~~~~
    
    Silence the warnings while including the Mildenhall headers to make the
    build proceed.
    Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
    a01fd327
Name
Last commit
Last update
SDKConfig Loading commit data...
cpp-library-example Loading commit data...
external Loading commit data...
.arcconfig Loading commit data...
.arclint Loading commit data...
.clang-format Loading commit data...
.cproject Loading commit data...
.gitmodules Loading commit data...
.project Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
cpp-library-example.doap Loading commit data...
git.mk Loading commit data...
glib-tap.mk Loading commit data...
tap-test Loading commit data...