知识若不分享    实在没有意义

查看完整版本: 好像有个bug,文件名字有-就不能编译?

autumnsea 2008-9-23 18:22

好像有个bug,文件名字有-就不能编译?

如 test-tango.d
D:\d\test>dmd test-tango.d
test-tango.d: module test-tango1 has non-identifier characters in filename, use
module declaration instead


谁能解释一下?

redduke 2008-9-24 15:36

不是BUG   是你的文件命名不规范  文件名中不能含有"-"  你可以写成test_tango.d
页: [1]
查看完整版本: 好像有个bug,文件名字有-就不能编译?