Files
xserver/include
Peter Hutterer 9c38422fc4 include: add BUG_WARN macro for internal bug cases.
There are plenty of cases that can only be triggered by a real bug in the
server and doing the ErrorF dance manually everywhere is a tad painful and
the error message is usually used only to find the spot in the file anyway.

Plus, reading BUG_WARN somewhere is a good indicator to the casual reader
that this isn't intended behaviour.

Note that this is intentionally different to the BUG_ON behaviour on the
kernel, we do not FatalError the server. It's just a warning + stacktrace.
If the bug is really fatal, call FatalError.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-11-29 15:13:29 +10:00
..
2010-10-13 09:24:06 -07:00
2010-09-13 15:55:17 -07:00
2011-10-28 13:10:07 -07:00
2011-11-29 15:12:28 +10:00
2011-03-14 13:44:46 -04:00
2011-03-14 13:57:20 -04:00
2010-11-11 23:20:35 +02:00