Why does using zlib without pragma(lib, ...) work?

tipdbmp email at example.com
Thu Jun 7 11:47:23 UTC 2018


The following compiles without pragma(lib, ...):

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

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



More information about the Digitalmars-d-learn mailing list