I brought this up before, but it just bit me in the ass again, so I thought I’d warn everybody.
File f(File::nonexistant);
if (f.isDirectory())
jassertfalse;
This will assert on linux and the mac and not on the pc.
On linux and the mac, the root directory and non existent are the same thing.