Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bdfa7e3d authored by Aditya Kumar's avatar Aditya Kumar
Browse files

Disable -Wcast-function-type-mismatch

Code owners should fix this.
```
...re/jni/AndroidRuntime.cpp:1499:25: error: cast from 'void (*)(void *)' to 'android_thread_func_t' (aka 'int (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-mismatch]
 1499 |     javaCreateThreadEtc((android_thread_func_t) start, arg, name,
```

Bug: b/353528991
Flag: EXEMPT b/353528991
Test: m checkbuild
Change-Id: Id9645a6d25c030912762992ac6141ab6dffe9f61
parent 5d4bc924
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@ cc_library_shared_for_libandroid_runtime {
    name: "libandroid_runtime",
    host_supported: true,
    cflags: [
        "-Wno-cast-function-type-mismatch",
        "-Wno-unused-parameter",
        "-Wno-non-virtual-dtor",
        "-Wno-maybe-uninitialized",