mirror of
https://github.com/mappu/miqt.git
synced 2025-01-20 21:50:38 +00:00
genbindings: blocklist QHashSeed::size_t
This commit is contained in:
parent
d7c019b2a7
commit
f15c54b153
@ -301,6 +301,14 @@ func AllowMethod(className string, mm CppMethod) error {
|
||||
return ErrTooComplex
|
||||
}
|
||||
|
||||
if className == "QHashSeed" && mm.MethodName == "operator unsigned long" {
|
||||
// Not present in Qt 5, is present in Qt 6.4 and 6.8, but in the C++
|
||||
// header file it is written as `operator size_t()`
|
||||
// Clang is early-converting size_t to unsigned long, which is invalid for mingw-w64-x86_64 platforms
|
||||
// A proper fix here would be to avoid evaluating typedefs
|
||||
return ErrTooComplex
|
||||
}
|
||||
|
||||
return nil // OK, allow
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user