Skip to content

Instantly share code, notes, and snippets.

@cbaggers
Last active February 20, 2018 18:34
Show Gist options
  • Save cbaggers/85cd433d89288b6cb86353aa6af882b1 to your computer and use it in GitHub Desktop.
Save cbaggers/85cd433d89288b6cb86353aa6af882b1 to your computer and use it in GitHub Desktop.
enum issue
(defun blerp ()
(declare (optimize (speed 3) (safety 3) (debug 1)))
(%gl:depth-func :gequal))
; file: /private/var/tmp/slimeUxycfQ
; in: DEFUN BLERP
; (CL-OPENGL-BINDINGS:DEPTH-FUNC :GEQUAL)
; --> BLOCK MULTIPLE-VALUE-PROG1 CFFI:FOREIGN-FUNCALL LET LET IF
; ==>
; #:VALUE2
;
; caught STYLE-WARNING:
; This is not a (UNSIGNED-BYTE 32):
; :GEQUAL
; See also:
; The SBCL Manual, Node "Handling of Types"
;
; compilation unit finished
; caught 1 STYLE-WARNING condition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment