Driklyn
Member
|
LNK2019 Engine Errors
Just happened to stumble across this:
In Math/Vector.h, the following headers are defined, but produce LNK2019 errors when used:
Code:
VecB4 Min( VecB4 a, VecB4 b, VecB4 c);
VecB4 Min( VecB4 a, VecB4 b, VecB4 c, VecB4 d);
Here's a little demo, note that the equivalent Max functions work:
Code:
VecB4 a(0, 0, 0, 0),
b(1, 1, 1, 1),
c(2, 2, 2, 2),
d(3, 3, 3, 3);
LogN(S + Min(a, b));
LogN(S + Max(a, b));
LogN(S + Min(a, b, c)); // LNK2019
LogN(S + Max(a, b, c));
LogN(S + Min(a, b, c, d)); // LNK2019
LogN(S + Max(a, b, c, d));
(This post was last modified: 12-28-2011 12:50 AM by Driklyn.)
|
|
12-04-2011 09:13 PM |
|
Esenthel
Administrator
|
RE: VecB4 Min(a, b, c) & Min(a, b, c, d) LNK2019 Error
thank you! fixed for next release
|
|
12-04-2011 09:33 PM |
|
Driklyn
Member
|
RE: LNK2019 Engine Errors
Hi, thanks for fixing the linker errors the last time; however, I found two more.
From Misc/String Functions.h:
Code:
Str TextChar(Char c);
Str TextChar(Char8 c);
|
|
12-28-2011 12:53 AM |
|
Esenthel
Administrator
|
RE: LNK2019 Engine Errors
Thanks! these will actually be removed from the header in next SDK
|
|
12-28-2011 12:56 AM |
|
Driklyn
Member
|
RE: LNK2019 Engine Errors
K, that's fine.. Just letting you know!
|
|
12-28-2011 01:02 AM |
|