Jean-Marc Lasgouttes wrote:

>>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]>
>>>>>> writes:
> 
> Angus> So, only the unix flavour is ever invoked (XForms, see) and the
> Angus> function is defined as
> 
> Angus> void os::warn(string /*mesg*/) { return;
> Angus> }
> 
> Angus> I'd replace it with a call to lyxerr, but currently my tree is
> Angus> rather messy ;-)
> 
> Do whatever you prefer for 1.4.0cvs, but I do not think it is worth
> cleaning up in 1.3.x.

Actually, the code in src/frontends/xforms/lyx_gui.C is:

 if (!display) {
  lyxerr << "LyX: unable to access X display, exiting" << endl;
  os::warn("Unable to access X display, exiting");
  ::exit(1);
 }

I just removed the 'warn'. 
<shrug>I can put it back if you want, but... <\shrug>

-- 
Angus

Reply via email to