First, I can not reproduce this on the latest master version on Windows 10 with the above code. This must be specific to Linux and may be more of our string problems.
Don't be confused, the issue is actually very simple. So recently I noticed min/max argument counts was incorrect in the syntax checker. Believe it or not, I actually did fix it.https://github.com/enigma-dev/enigma-dev/pull/1016
The reason it now appears broke in this case is due to our incompatibilities with C++11 strings. Because ord actually takes std::string in ENIGMA it is causing issues.
To work around this until I figure out more about your problem, you can go into the following file and set the variable to 0 instead of SIZE_MAX. Then save the file and reopen ENIGMA. However, after this the minimum argument count will be screwed up for other functions, but it will at least let you compile.https://github.com/RobertBColton/enigma-dev/blob/36e73c0f056cf4637f758224e3e8750f1bc5ff1b/CompilerSource/compiler/jdi_utility.cpp#L61