Linker error

MrSmith mrsmith33 at yandex.ru
Mon May 20 13:29:27 PDT 2013


On Monday, 20 May 2013 at 18:25:19 UTC, Namespace wrote:
> Nice. Hope that this will be solved. Do you have a working 
> workaround?

As you may have read, i had writeln statement which when removed 
from code causes linker error. In my case i can just place it 
back.
It was

    writeln(uniforms);

which i successfully replaced by:

    writef("",uniforms);

to not produce any output.
Maybe it's problem of writeln, maybe it is more general problem, 
i dont know, unfortunately.

It is worth to note uniforms definition is:

Uniform[string] uniforms;

and

struct Uniform
{
	uint location;
	uint type;
	uint num;
	float[4] lastValue;
}



More information about the Digitalmars-d-learn mailing list