While trying to build phobos as a library with a single call, dmd errors out with
error : no definition found for static `deflate_stored` in this module, statics defined in one module cannot be referenced from another
This boils down to compiling this C code with -lib:
static void static_fun();
void lib_fun()
{
static_fun();
}
static void static_fun()
{
}
yields:
Error: no definition found for static `static_fun` in this module, statics defined in one module cannot be referenced from another
Also note the missing file and line number.
While trying to build phobos as a library with a single call, dmd errors out with
This boils down to compiling this C code with
-lib:yields:
Also note the missing file and line number.