Probably the same in 1.4.x too.

$ grep -r 'warn *(' src
src/frontends/xforms/lyx_gui.C:         os::warn("Unable to access X
display, exiting");
src/support/os.h:       static void warn(string mesg);
src/support/os_os2.C:void os::warn(string /*mesg*/) {
src/support/os_unix.C:void os::warn(string /*mesg*/)
src/support/os_win32.C:void os::warn(string mesg)

So, only the unix flavour is ever invoked (XForms, see) and the function is
defined as

void os::warn(string /*mesg*/)
{
 return;
}

I'd replace it with a call to lyxerr, but currently my tree is rather
messy ;-)

-- 
Angus

Reply via email to