programs/winecfg/winecfg.c now defines a function called setkey().
This same function also appears in stdlib.h and unistd.h on FreeBSD 5.x systems, so the build on these platforms fails with
winecfg.c:136: error: conflicting types for `setkey' /usr/include/stdlib.h:211: error: previous declaration of `setkey'
(How) can we address this in Wine?
Gerald
Le sam 16/10/2004 à 09:19, Gerald Pfeifer a écrit :
programs/winecfg/winecfg.c now defines a function called setkey().
This same function also appears in stdlib.h and unistd.h on FreeBSD 5.x systems, so the build on these platforms fails with
winecfg.c:136: error: conflicting types for `setkey' /usr/include/stdlib.h:211: error: previous declaration of `setkey'
(How) can we address this in Wine?
_Guhit (from IRC) hit that too and Mike M told him to rename winecfg's setkey to WINE_setkey (same thing for getkey). His patch should hit wine-patches soon.
Vincent