|
From: Hans-Bernhard B. <br...@ph...> - 2005-05-11 19:18:43
|
Brendan Burns wrote: > In file included from term.h:400, > from term.c:1205: > ../term/pslatex.trm:120: error: static declaration of 'epslatex_header' > follows non-static declaration > ../term/post.h:88: error: previous declaration of 'epslatex_header' was > here That's strange --- this is usually just a warning, not an error. Did GCC change its behaviour on this? > Changing > "static char *epslatex_header..." -> "char *epslatex_header..." in > pslatex.trm fixed the compile error. It's quite probably the wrong direction of change, though. Making the declaration in post.h 'static' makes more sense. Actually, it should probably be TERM_PUBLIC, which evaluates to static. |