You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building an applications that requires this version gi-glib-2.0.25. The build fails with the following error:
...
[101 of 120] Compiling GI.GLib.Functions ( GI/GLib/Functions.hs, dist/build/GI/GLib/Functions.o )
GI/GLib/Functions.hs:5190:34: error:
• Couldn't match type ‘Char’ with ‘CInt’
Expected type: Ptr CInt
Actual type: Ptr Char
• In the first argument of ‘g_unicode_canonical_ordering’, namely
‘string'’
In a stmt of a 'do' block: g_unicode_canonical_ordering string' len
In the second argument of ‘($)’, namely
‘do let len = fromIntegral $ length string
string' <- packStorableArray string
g_unicode_canonical_ordering string' len
freeMem string'
....’
|
5190 | g_unicode_canonical_ordering string' len
| ^^^^^^^
Any recommendations?
The text was updated successfully, but these errors were encountered:
Thanks for the report! Could you please put GLib-2.0.gir somewhere I could take a look? In Linux it's located under /usr/share/gir-1.0. Many thanks in advance!
Building an applications that requires this version gi-glib-2.0.25. The build fails with the following error:
...
[101 of 120] Compiling GI.GLib.Functions ( GI/GLib/Functions.hs, dist/build/GI/GLib/Functions.o )
GI/GLib/Functions.hs:5190:34: error:
• Couldn't match type ‘Char’ with ‘CInt’
Expected type: Ptr CInt
Actual type: Ptr Char
• In the first argument of ‘g_unicode_canonical_ordering’, namely
‘string'’
In a stmt of a 'do' block: g_unicode_canonical_ordering string' len
In the second argument of ‘($)’, namely
‘do let len = fromIntegral $ length string
string' <- packStorableArray string
g_unicode_canonical_ordering string' len
freeMem string'
....’
|
5190 | g_unicode_canonical_ordering string' len
| ^^^^^^^
Any recommendations?
The text was updated successfully, but these errors were encountered: