bil til
unread,Oct 23, 2025, 6:15:42 AMOct 23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lu...@googlegroups.com
... it would be nice if you could restrict this #include <asssert.h>
to exactly one point, best e. g. in the luaconf.h.
This would make it more easy to use customized assertion.
(I use a file "myassert.h", it is a bit annoying that I have to modify
ca. 5 Lua source files to exchange these things - of course I do not
like to modfiy C Lua source files, it is somehow more safe to keep
them untouched).
(I use armcc, and this compiler has the strange property, that it
recognizes if assert.h ist included, and IF it is included and you try
to overwrite assert, than error messages will appear, or at least
strong warnings...).