1 ;;;; cross-compiler-only versions of conditions
3 ;;;; This software is part of the SBCL system. See the README file for
6 ;;;; This software is derived from the CMU CL system, which was
7 ;;;; written at Carnegie Mellon University and released into the
8 ;;;; public domain. The software is in the public domain and is
9 ;;;; provided with absolutely no warranty. See the COPYING and CREDITS
10 ;;;; files for more information.
12 (in-package "SB!KERNEL")
14 (define-condition simple-style-warning (simple-condition style-warning) ())
15 (define-condition format-too-few-args-warning (simple-warning) ())
16 ;;; in the cross-compiler, this is a full warning. In the target
17 ;;; compiler, it will only be a style-warning.
18 (define-condition format-too-many-args-warning (simple-warning) ())
20 (define-condition bug (simple-error)
23 (lambda (condition stream)
26 (simple-condition-format-control condition)
27 (simple-condition-format-arguments condition)
28 "~@<If you see this and are an SBCL ~
29 developer, then it is probable that you have made a change to the ~
30 system that has broken the ability for SBCL to compile, usually by ~
31 removing an assumed invariant of the system, but sometimes by making ~
32 an averrance that is violated (check your code!). If you are a user, ~
33 please submit a bug report to the developers' mailing list, details of ~
34 which can be found at <http://sbcl.sourceforge.net/>.~:@>"