Follow-up Comment #1, bug #24813 (project grep):

I don't know what compiler you're using, but we had the same problem using
Sun Studio 12, which we were able to get around using "-features=extensions"
as CFLAGS, as suggested here:
http://forums.sun.com/thread.jspa?threadID=5182898 .

Depending on your compiler, there might be another option you can set to get
it to ignore the "void function cannot return value" error. 

You can also change the source code... "void function cannot return value" is
caused by lines like this:

----
COMPILE_FCT(Acompile)
{
  return GEAcompile (pattern, size, RE_SYNTAX_AWK);
}
----

which strictly speaking should be this:

++++
COMPILE_FCT(Acompile)
{
  GEAcompile (pattern, size, RE_SYNTAX_AWK);
}
++++

(gcc ignores the "void function should not return a value" convention)

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?24813>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



Reply via email to