Hello,

The rdmd option --main is really helpful to test modules independently (it adds 
an empty main() to prevent the linker from crying). An issue is that each time 
we switch between .d files that have no main() (modules in tended for export) 
and app files that have one, this option must be set or removed (else the 
linker complains for having 2 main()).
This is not very practicle for rapid edit-test cycles -- for "exploratory" 
programming in general. Would it be difficult for rdmd to detect whether a main 
is already present? It is not a big issue anyway -- just in case would be easy.

Thank you very much for this tool, Andrei.


Denis
-- -- -- -- -- -- --
vit esse estrany ☣

spir.wikidot.com

Reply via email to