-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
I cannot build this demo. Here is the snippet of the swift run output:
Building for debugging...
Warning: duplicate type 'variant_get_gtype' for //gir:function ignored!
Warning: duplicate type 'language_from_string' for //gir:function ignored!
Warning: duplicate type 'language_get_default' for //gir:function ignored!
Warning: duplicate type 'shape' for //gir:function ignored!
Warning: duplicate type 'shape_full' for //gir:function ignored!
/home/mble/.build/SwiftHelloGtk/.build/plugins/outputs/swiftgtk/GLib/destination/gir2swift-plugin/gir2swift-generated/GLib/GLib-2.0-functions.swift:6360:18: error: 'g_open' is unavailable: Variadic function is unavailable
6358 | /// See your C library manual for more details about `open()`.
6359 | @inlinable public func open(filename: UnsafePointer<gchar>!, flags: Int, mode: Int) -> Int {
6360 | let result = g_open(filename, gint(flags), gint(mode))
| `- error: 'g_open' is unavailable: Variadic function is unavailable
6361 | let rv = Int(result)
6362 | return rv
CGLib.g_open:2:13: note: 'g_open' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Variadic function is unavailable")
2 | public func g_open(_: UnsafePointer<CChar>, _: Int32, _ varargs: Any...) -> Int32
| `- note: 'g_open' has been explicitly marked unavailable here
/home/mble/.build/SwiftHelloGtk/.build/plugins/outputs/swiftgtk/GLib/destination/gir2swift-plugin/gir2swift-generated/GLib/GLib-2.0-functions.swift:6360:18: error: 'g_open' is unavailable: Variadic function is unavailable
6358 | /// See your C library manual for more details about `open()`.
6359 | @inlinable public func open(filename: UnsafePointer<gchar>!, flags: Int, mode: Int) -> Int {
6360 | let result = g_open(filename, gint(flags), gint(mode))
| `- error: 'g_open' is unavailable: Variadic function is unavailable
6361 | let rv = Int(result)
6362 | return rv
CGLib.g_open:2:13: note: 'g_open' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Variadic function is unavailable")
2 | public func g_open(_: UnsafePointer<CChar>, _: Int32, _ varargs: Any...) -> Int32
| `- note: 'g_open' has been explicitly marked unavailable here
error: emit-module command failed with exit code 1 (use -v to see invocation)
/home/mble/.build/SwiftHelloGtk/.build/plugins/outputs/swiftgtk/GLib/destination/gir2swift-plugin/gir2swift-generated/GLib/GLib-2.0-functions.swift:6360:18: error: 'g_open' is unavailable: Variadic function is unavailable
6358 | /// See your C library manual for more details about `open()`.
6359 | @inlinable public func open(filename: UnsafePointer<gchar>!, flags: Int, mode: Int) -> Int {
6360 | let result = g_open(filename, gint(flags), gint(mode))
| `- error: 'g_open' is unavailable: Variadic function is unavailable
6361 | let rv = Int(result)
6362 | return rv
CGLib.g_open:2:13: note: 'g_open' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Variadic function is unavailable")
2 | public func g_open(_: UnsafePointer<CChar>, _: Int32, _ varargs: Any...) -> Int32
| `- note: 'g_open' has been explicitly marked unavailable here
[83/102] Converting Gtk Gtk-3.0.girBest regards,
Maciej Błędkowski
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels