Trass3r schrieb: > Frank Benoit schrieb: >> It is set by the compiler. But dsss has an own D compiler included to >> retrieve the imports and pragmas. If you see error messages, they might >> come from the dsss internal DMD frontend. >> You can set the versions in the compiler profile, see dsss/etc/rebuild/ > > Yeah, but I thought rebuild just parses imports and stuff and then calls > dmd to compile all found files, thus D_Version2 should be set by dmd, > shouldn't it?
rebuild uses the dmd frontend, so it might also generate errors. And that errors might look exactly the same as those from dmd. And if the rebuild profile is not configured to have D_Version2 set, the frontend might lead you on the wrong track.
