Fabián Heredia Montiel
b2d88d41e7
vala: remove unconditional work around for clang 16 function pointer errors
...
Hook accumulates the flag over sereval executions as observed in:
- https://github.com/NixOS/nixpkgs/issues/301592
- https://github.com/NixOS/nixpkgs/pull/252484#issuecomment-2089095268
Since this has been committed, gcc started emitting a warning on
`-Wno-incompatible-function-poniter-types` being an unrecognized flag
and additionally upstream vala added its own meassure to reduce these
new pointer errors to warnings in its generated sources.
23ec71b1a5
Which is part of the current release
branch (https://gitlab.gnome.org/GNOME/vala/-/commits/0.56?ref_type=heads )
and released on 0.56.15
```
Vala 0.56.15
============
* Various improvements and bug fixes:
- codegen:
...
+ Emit diagnostic pragmas for GCC 14, Clang 16 compatibility [#1408 ]
```
https://gitlab.gnome.org/GNOME/vala/-/merge_requests/369
2024-07-25 15:20:47 -06:00
Artturin
18951ce703
vala: look for files in targetOffset
...
when vala is in `nativeBuildInputs`, look for files in `buildInputs`.
2023-11-23 20:58:37 +02:00
Randy Eckenrode
94423c0910
vala: work around clang 16 function pointer errors
...
Clang 16 makes casting function pointers between incompatible types an
error, which causes Vala to fail to build things using glib-2.0.vapi.
`-Wno-incompatible-function-pointer-types` is set unconditionally
because it is supported by all versions of clang and GCC in nixpkgs.
See https://gitlab.gnome.org/GNOME/vala/-/issues/1413 .
2023-09-07 18:06:27 -04:00
Jan Tojnar
79ca7f4cb4
vala: add setup hook
...
Add datadir containing vapidir to XDG_DATA_DIRS and move vapipdir to dev output.
2019-01-20 04:06:20 +01:00