Commits on Source (19)
-
Emmanuele Bassi authored3c1b41fb
-
Christoph Reiter authored
While gcc on Windows allows being passed -rpath and just ignores it, llvm/lld will fail with "lld: error: unknown argument: -rpath". There is no such thing as rpath on Windows, so just skip it.
dd5dd6d1 -
Christoph Reiter authored
The existing code tries to mirror how the linker finds DLLs by searching for the import libs and then looking for the matching shared lib name. While llvm has a dlltool clone it doesn't provide the --identify option to extract the shared lib name. Instead we use the fact that llvm import libs include the dll name in the archive member name, so we can use "nm" there to get the same result. To decide which strategy to use we run dlltool and check if it contains "llvm-dlltool" in the output. This fixes the .gir and .typelib files containing bogus values for the shared library names when building with clang + mingw-w64 on Windows. I'm not quite sure if the libtool part is actually needed there, but I left it in to keep the diff small.
a3fa882f -
Christoph Reiter authored
cmph is vendored and other one is bison/flex generated code. Not much we can do here, so disable those warnings there.
ebd0f128 -
Christoph Reiter authored
The toolchain is different enough to warrant its own CI job imo.
d81b95ac -
Marco Trevisan authored2206d473
-
Philip Chimento authored
This parameter may not be NULL even if the function described by the GIFunctionInfo has a void return type, so we should not say this in the documentation.
4daf4121 -
Philip Chimento authored
The test returns a newly allocated GValue, so it should not be marked transfer none.
0f9327b6 -
Marc-André Lureau authored
This helps with gtk!4965. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
6a934c41 -
5743511f
-
Emmanuele Bassi authored
GLib has been requiring a C99 toolchain for a while, now. It makes no sense to have gobject-introspection depend on C89.
f02d7740 -
Emmanuele Bassi authored
GLib commit: 2.73.3-44-g66c4e35e2
f3689295 -
Thomas Haller authored
When g-ir-scanner is used by another project, than that project might have the GLIB_VERSION_* macros defined. This is useful to ensure that only intended glib API is used. The project might then also pass the CFLAGS to g-ir-scanner, without filtering those defines out. This can lead to compiler warnings. For example, NetworkManager sets the version macros to GLIB_VERSION_2_40 and thus gets these warnings /NetworkManager/tmp-introspect66917zc4/NM-1.0.c: In function ‘dump_object_type’: /NetworkManager/tmp-introspect66917zc4/NM-1.0.c:252:13: warning: Not available before 2.70 252 | if (G_TYPE_IS_FINAL (type)) | ^~~~~~~~~~~~~~~~~ /NetworkManager/tmp-introspect66917zc4/NM-1.0.c: In function ‘dump_fundamental_type’: /NetworkManager/tmp-introspect66917zc4/NM-1.0.c:370:13: warning: Not available before 2.70 370 | if (G_TYPE_IS_FINAL (type)) | ^~~~~~~~~~~~~~~~~ But these warnings are not correct. The installed g-ir-scanner knows for which glib version to generate code. Undefine the macros to avoid the warning.
cde5de91 -
Emmanuele Bassi authoredadc101a8
-
Emmanuele Bassi authored7a99bece
-
Emmanuele Bassi authored
GLib commit: 2.74.0
4727dbfa -
Emmanuele Bassi authored37bde613
-
Simon McVittie authoredeedb8f2b