First of all, I'm really sorry for any english grammar mistake or any fault 
with any rule about bugs sending.

In this environment

Compiler: gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]
OS: openSUSE 11.1

I got this warning

y.tab.c:2075: error: deprecated conversion from string constant to "char *"

due to gcc new checks, but the fact is the source is auto generated by the tool 
Bison 2.3

--- code begin ---
/* Identify Bison output.  */
#define YYBISON 1

/* Bison version.  */
#define YYBISON_VERSION "2.3"
--- code end ---

at this point

--- code begin ---
yyerror (YY_("memory exhausted")); 
--- code end ---

or the same warning at
--- code begin ---

yyerror (YY_("syntax error")); 

--- code end ---

I'm looking for a memory override, that's why I'm using the "-Werror" flag with 
the gcc, and I did the next workaround int the y.tab.c

--- code begin ---
     {
      char tmp[20] = {0};
      strcpy(tmp, "memory exhausted");
      yyerror (YY_(tmp));
     }
  //yyerror (YY_("memorr exhausted"));
--- code end ---

Hope all of this helps.
See you later.



      Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/

Reply via email to