Bennett Helm wrote:
> I get the following compile error:
> 
> lyx_gui.C: In function `FuncStatus lyx_gui::getStatus(const
> FuncRequest&)':
> lyx_gui.C:257: warning: control reaches end of non-void function
> lyx_gui.C: At global scope:
> lyx_gui.C:260: error: parse error before `return'
> lyx_gui.C: In function `const std::string roman_font_name()':
> lyx_gui.C:336: error: `use_gui' undeclared (first use this function)
> lyx_gui.C:336: error: (Each undeclared identifier is reported only 
once
> for
>     each function it appears in.)
> lyx_gui.C: At global scope:
> lyx_gui.C:369: error: parse error before `}' token

Remove that line. It appears that Jean-Marc originally bounded the 
if-block with '{'  ...  '}' braces, but then removed the preliminary 
'{'. As this if-block is one line long only, it is reasonable to 
remove also the trailing '}' brace rather than add back the '{'.

Angus

> Bennett

Reply via email to