Thread overview
Why does using zlib without pragma(lib, ...) work?
Jun 07, 2018
tipdbmp
Jun 07, 2018
rikki cattermole
Jun 07, 2018
tipdbmp
Jun 07, 2018
rikki cattermole
June 07, 2018
The following compiles without pragma(lib, ...):

extern(C) {
    const(char)* zlibVersion();
}

void main() {
    const(char)* sz = zlibVersion();
}

June 08, 2018
On 07/06/2018 11:47 PM, tipdbmp wrote:
> The following compiles without pragma(lib, ...):
> 
> extern(C) {
>      const(char)* zlibVersion();
> }
> 
> void main() {
>      const(char)* sz = zlibVersion();
> }

It has already been compiled in as part of Phobos.

June 07, 2018
What other libraries (if any) are part of Phobos?

June 08, 2018
On 08/06/2018 12:25 AM, tipdbmp wrote:
> What other libraries (if any) are part of Phobos?
> 

That is pretty much it.