[Issue 5243] dmd -run potentially removes user files
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jan 8 09:07:06 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5243
--- Comment #8 from Leandro Lucarella <leandro.lucarella at sociomantic.com> 2013-01-08 09:07:05 PST ---
(In reply to comment #6)
> (In reply to comment #5)
> >> But you can accidentally overwrite another .exe file
>
> I don't know of any compilers which warn you against this (it should probably
> be part of a build tool), I thought the enhancement was for when you can
> accidentally overwrite files which were not generated by the compiler (data
> files with no extension on posix, for example).
And I'm not suggesting for DMD to check that when compiling normally. The thing
is -run, to the user, is perceived as not generating any files, so it's really
unexpected if any file gets removed after running dmd -run somescript.d.
Specially if dmd want to be taken seriously in the scripting world.
But maybe Alex Rønne Petersen is right, dmd -run is an incomplete feature and
maybe it should be removed altogether because it might be too hard to do it
right and there is already rdmd.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list