digitalmars.D.bugs - [Issue 3778] New: std.bind appears broken/missing
- d-bugmail puremagic.com (28/28) Feb 07 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3778
- d-bugmail puremagic.com (14/32) Feb 18 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3778
- d-bugmail puremagic.com (12/12) Jan 08 2011 http://d.puremagic.com/issues/show_bug.cgi?id=3778
http://d.puremagic.com/issues/show_bug.cgi?id=3778
Summary: std.bind appears broken/missing
Product: D
Version: 2.040
Platform: x86_64
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody puremagic.com
ReportedBy: steve.teale britseyeview.com
03:20:28 PST ---
If I attempt to use minNumArgs, as in:
import std.bind;
import std.stdio;
void foo(int a, int b, int c = 0) {}
void main()
{
int n = minNumArgs!(foo);
writefln("min args %d", n);
}
I get: std/bind.d(307): Error: void initializer has no value
Trying to use other facilities from bind, when linking I get:
undefined reference to `_D3std4bind12__ModuleInfoZ'
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 07 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3778
GG <ggcoding gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ggcoding gmail.com
If I attempt to use minNumArgs, as in:
import std.bind;
import std.stdio;
void foo(int a, int b, int c = 0) {}
void main()
{
int n = minNumArgs!(foo);
writefln("min args %d", n);
}
I get: std/bind.d(307): Error: void initializer has no value
Trying to use other facilities from bind, when linking I get:
undefined reference to `_D3std4bind12__ModuleInfoZ'
I noticed that bind.d is missing in /src/phobos/linux.mak at STD_MODULES =
[...]
So you can add it and recompile libphobos with make -f linux.mak
It's resolved the undefined reference to `_D3std4bind12__ModuleInfoZ'
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 18 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3778
Andrei Alexandrescu <andrei metalanguage.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |andrei metalanguage.com
Resolution| |WONTFIX
23:51:09 PST ---
std.bind is gone.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 08 2011









d-bugmail puremagic.com 