September 18, 2008 Re: Passing file handles from functions? (Changed since dmd v0.118) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lars Kyllingstad | Lars Kyllingstad wrote: > AEon wrote: >> Question: Will dmd make it pretty clear when it needs some library included? I.e. the compiler shows a warning / error? > > Sure, if you try to use a function/class/whatever that hasn't been imported, the compiler will emit an error. (It will not, however, tell you which module you should import to make it work.) Ah... right... the compiler was still stuck with the high priority errors, my modules are now showing all the errors due to missing libs. Easter egg hunt :) Luckily, I copy/pasted all of the docs from digital mars into one word file, letting me search what libs contain what functions. (Just noted the http://www.digitalmars.com/d/1.0/phobos/std_c_stdio.html search works as well). Thanx... AEon |
Copyright © 1999-2021 by the D Language Foundation