Anyway, this is the error I got if you're curious. (I left such things out because the article was getting long as is)
warning: variable named 'main' with external linkage has undefined behavior [-Wmain] short main[] = { 16, 18 };
This is on OS X so it's clang 11.0.3.
I realise this was a minor observation on your part, and I was remarking on it in that spirit. I’m sorry not to have made that clearer. I’ve found it rather dispiriting when writing of mine has been posted here, and the comments have seemed like nitpicking criticism, so I regret having given you that impression. One has to remind oneself that people who enjoy the article and have nothing to add will usually not leave comments, and so the comments give a misleading impression of how people felt about it.
The message you quote above appears to be a warning, rather than an error.
Anyway, I'm glad you found it interesting =)
This sort of trick should still be possible with modern compilers. GCC has the charming warning
if main is declared as something other than a function.Here’s someone who got it to work in 2015, anyway: http://jroweboy.github.io/c/asm/2015/01/26/when-is-main-not-...