|
From: Gisle V. <gi...@bg...> - 2005-01-15 13:46:13
|
What does this builtin function really do in gcc 3.4?
Google came up with only one hit.
I have the need to code my own gettext() and are getting
redefinition warning. My gettext() is not related to the one in
<libintl.h>, but implements the conio version of the same name
(copying screen text from a rectangle into a user buffer).
This code:
#undef gettext /* no effect */
int gettext (int x1, int y1, int x2, int y2, void *buf)
{
return mw_gettext (x1, y1, x2, y2, buf);
}
gives this warning:
textrec.c:70: warning: conflicting types for built-in function 'gettext'
--gv
|