View previous topic :: View next topic |
Author |
Message |
teqdruid
Joined: 11 May 2004 Posts: 390 Location: UMD
|
Posted: Sat Dec 25, 2004 12:49 am Post subject: Compile error/DMD bug |
|
|
Just checked out the latest Mango, and it decided not to compile with:
Code: | dmd -I. -version=Posix -version=Mango -c -ofmango/log/FileAppender.o mango/log/FileAppender.d
mango/log/Hierarchy.d(62): identifier 'Logger' is not defined
|
Which is weird since Hierarchy.d imports mango.log.Appender, which publicly imports mango.log.Logger... The problem is easily fixed by adding mango.log.Logger into Hierarchy.d's imports, but I don't think I should have to do this.
Is this a DMD bug, or is this the correct behavior? Doesn't seem right to me.
John |
|
Back to top |
|
|
kris
Joined: 27 Mar 2004 Posts: 1494 Location: South Pacific
|
Posted: Sat Dec 25, 2004 1:11 pm Post subject: |
|
|
That looks very much like a DMD bug, since the linux makefile does something similar (although it specifies all of the .d files on the command line, rather than one at a time).
I wonder if explicitly supplying the full path to -I would rectify it (rather than -I.) ? |
|
Back to top |
|
|
|