"Vidar Wahlberg" <[email protected]> wrote in message news:[email protected]... > Adding a note about GDC (4.6.2) here: > It appears like it ignores "module <name>;" and always use the filename > for module name (or I've misunderstood what "module" is used for). If I > create a file "Foo.d" which contains "module foo;", then in any other file > I wish to include module "foo" in I must write "include Foo;", not > "include foo;".
The names only need to match if the compiler/build tool has to find the module itself. If you call the compiler with all modules listed: gdc bar.d Foo.d etc.d then it should be able to work it out. (This is how it works with dmd, anyway. GDC is probably the same)
