digitalmars.D.learn - Why does using zlib without pragma(lib, ...) work?
- tipdbmp (7/7) Jun 07 2018 The following compiles without pragma(lib, ...):
- rikki cattermole (2/11) Jun 07 2018 It has already been compiled in as part of Phobos.
- tipdbmp (1/1) Jun 07 2018 What other libraries (if any) are part of Phobos?
- rikki cattermole (2/4) Jun 07 2018 That is pretty much it.
The following compiles without pragma(lib, ...): extern(C) { const(char)* zlibVersion(); } void main() { const(char)* sz = zlibVersion(); }
Jun 07 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.
Jun 07 2018
On 08/06/2018 12:25 AM, tipdbmp wrote:What other libraries (if any) are part of Phobos?That is pretty much it.
Jun 07 2018