I'm building a majorly stripped back environment, but not quite better-c.
I removed druntime and building with an empty object.d, slowly filling it to understand the minimum set of things I need.
I have encountered a weird error though:
enum x = "X" == "y";
error : incompatible types for array comparison: `string` and `string`
Most things seem to use __cmp, and certainly "X".__cmp("Y") does compile and work.
Does anyone know why this error message? What is the compiler doing internally that leads to such an error message? Something's obviously missing, but I don't know what...?