Bonjour,

j'essaye de compiler la Glib 2.44.1 ou 2.45.1 avec MinGW et j'ai les erreurs suivantes:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
In file included from ginetaddress.c:38:0:
gwin32networking.h:27:42: error: unknown type name 'PCTSTR'
 typedef INT (WSAAPI *PFN_InetPton) (INT, PCTSTR, PVOID);
                                          ^
gwin32networking.h:28:24: error: expected declaration specifiers or '...' before
 '*' token
 typedef PCTSTR (WSAAPI *PFN_InetNtop) (INT, PVOID, PTSTR, size_t);
                        ^
gwin32networking.h:29:29: error: expected declaration specifiers or '...' before
 '*' token
 typedef NET_IFINDEX (WINAPI *PFN_IfNameToIndex) (PCSTR);
                             ^
gwin32networking.h:33:3: error: unknown type name 'PFN_InetPton'
   PFN_InetPton pInetPton;
   ^
gwin32networking.h:34:3: error: unknown type name 'PFN_InetNtop'
Il y a d'autres erreurs du même type, je ne les ait pas toutes copiées.