Commit Graph

3 Commits

Author SHA1 Message Date
Khem Raj
0bf496f24b python3-cffi: Fix failing ptests with clang
Clang finds additional warnings with cffi generated code

_CFFI_test_verify_anonymous_struct_with_star_typedef.cpp:587:10: error: non-constant-expression cannot be narrowed from type 'long' to 'size_t' (ak│a 'unsigned long') in initializer list [-Wc++11-narrowing]

(From OE-Core rev: 470edc62b1821bcbb679bd3822acd98e9996c9e7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:19 +00:00
Richard Purdie
364880dcb3 python3-cffi: Add missing pkgconfig dependency
With gcc posioning fixed, this recipe showed errors, using an incorrect include
path looking at the host system. If pkgconfig is present, the correct include
paths are used. Therefore add the missing dependency.

(From OE-Core rev: 6cf0aaa3af276694709369b6007f629862e21559)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-22 13:20:29 +00:00
Wang Mingyu
c6990c75dc python3-cffi: upgrade 1.17.0 -> 1.17.1
Changelog:
===========
- Fix failing distutils.msvc9compiler imports under Windows
- ffibuilder.emit_python_code() and ffibuiler.emit_c_code() accept file-like objects
- ffiplatform calls are bypassed by ffibuilder.emit_python_code() and ffibuilder.emit_c_code()

(From OE-Core rev: f3bbcfcb8f1db84a2d5e51172d776970222c5e88)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-30 17:00:51 +01:00