Nirbheek Chauhan
301de27529
test cases/vala: Fix clang error during int to pointer coercion
...
```
clang [...] -c valaprog.p/GLib.Thread.c
../test cases/vala/5 target glib/GLib.Thread.vala:17:17: error: incompatible integer to pointer conversion passing 'gint' (aka 'int') to parameter of type 'gpointer' (aka 'void *') [-Wint-conversion]
g_thread_exit (get_ret_code ());
^~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gthread.h:158:66: note: passing argument to parameter 'retval' here
void g_thread_exit (gpointer retval);
^
1 error generated.
```
2 years ago
Dylan Baker
29ef4478df
compilers/d: Add b_ndebug support
...
D lang compilers have an option -release (or similar) which turns off
asserts, contracts, and other runtime type checking. This patch wires
that up to the b_ndebug flag.
Fixes #7082
5 years ago
Jussi Pakkanen
b400cbe058
Kill tabs dead! For good!
6 years ago
Nirbheek Chauhan
9ac98040ae
Add a unittest using the Vala and C warnings test
...
This actually tests that -Wall, -Werror, and -w are set in the right
targets.
8 years ago
Igor Gnatenko
d7ca9eee5a
vala: add support for --target-glib
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago