Keywords: xcoral

Next: Compiling Smac Up: Error messages Previous: About functions

# Others

- zero divide, to get this message you must have defined a RUNTIMECHECK cpp name when you compiled Smac (see §9 page ). Example generating this message:

  `{ 1 % 0; }`

- cannot open <filename> this error is generated by load_file (see §6.6.7 page ) when Smac cannot open or read the specified file.

- function_percent argument type is <a type>, not a function
- function_name argument type is <a type>, not a function
- function_arg_count argument type is <a type>, not a function
- function_is_builtin argument type is <a type>, not a function
- function_type argument type is <a type>, not a function
- Error: stack is full, perhaps the Smac stack size is fixed too small, change it (in a new session), see §6 page . Terminal, crossed, wrap or other types of recursions are not recognized by Smac to minimize stack size.

  `void catastrophe() { catastrophe(); }`

- Stop execution on ctrl-c (kill -2 on process id).
- illegal free (address = 0x????) only if Smac is compiled with RUNTIMECHECK defined.

  `{ free("illegal"); }`