|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
digitalmars.D.learn - Module is in multiple defined
Following the discussion of module declarations, there is still an issue that dates back to 2005 and obviously has been ignored since then. Consider this: file 1: pack/module1.d ------------------------ import pack.module2; file 2: pack/module2.d ------------------------ import pack.module1; Compiling the above with 'dmd pack/module1 pack/module2' gives weird messages like 'module module1 is in multiple defined'. Adding explicit module declarations fixes the issue. It was discussed here: http://www.digitalmars.com/d/archives/digitalmars/D/learn/1302.html This issue effectivly renders unnamed modules unusable. May 13 2007
|