rutils icon indicating copy to clipboard operation
rutils copied to clipboard

VOID macro declaimed as inline

Open slyrus opened this issue 5 years ago • 1 comments

The following line in misc.lisp declaims the macro VOID to be inline:

(declaim (inline or2 and2 xor2 void true))

This should probably be removed.

slyrus avatar Dec 31 '20 17:12 slyrus

Indeed! According to the standard (Declaration INLINE), inlining macros has no effect (nor an error), unless a compiler macro is provided for the name.

inline and notinline declarations otherwise have no effect when the lexically visible definition of function-name is a macro definition.

jcguu95 avatar Apr 29 '24 15:04 jcguu95