undefined reference to `_D6deimos6python6Python12__ModuleInfoZ'
Jesse Phillips
Jessekphillips+D at gmail.com
Wed Sep 19 13:30:24 PDT 2012
On Tuesday, 18 September 2012 at 04:56:27 UTC, Ellery Newcomer
wrote:
> In a templated function in my header file, I make a call to
> enforce. When the function is not called [instantiated], all is
> well. When the function is called, it generates yon undefined
> reference to __ModuleInfoZ.
>
> I guess this is because D needs a pointer to the module in
> order to look up enforce?
What does the call to enforce look like? The error isn't from the
compiler so you are pulling in a symbol which isn't in your
object files.
More information about the Digitalmars-d-learn
mailing list