Skip to content

Compiler warning about undefined variable `system::err` in `system:get-page-size`

Describe the bug

A compiler warning:

; File: /home/toy/src/clnet/cmucl/dev/cmucl/src/code/os.lisp

; In: DEFUN SYSTEM:GET-PAGE-SIZE

;   (GET-UNIX-ERROR-MSG ERR)
; Warning: Undefined variable SYSTEM::ERR

Also in the same file:

; In: DEFUN SYSTEM:GET-PAGE-SIZE

;   (GET-UNIX-ERROR-MSG ERR)
; Warning: Undefined function SYSTEM::GET-UNIX-ERROR-MSG 

To Reproduce

Steps to reproduce the behavior:

  1. Build cmucl
  2. Look in <build>/compile-lisp.log

Expected behavior

There shouldn't be warnings here.

Desktop (please complete the following information):

  • OS: All