Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 464748 Details for
Bug 610566
games-engines/odamex-0.7.0 : /.../m_vectors.cpp:546:16: error: call of overloaded ‘abs(const double&)’ is ambiguous
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0.7.0 ambiguous abs patch
odamex-0.7.0-fabs.patch (text/plain), 681 bytes, created by
Mike Wood
on 2017-02-22 19:11:48 UTC
(
hide
)
Description:
0.7.0 ambiguous abs patch
Filename:
MIME Type:
Creator:
Mike Wood
Created:
2017-02-22 19:11:48 UTC
Size:
681 bytes
patch
obsolete
>Index: common/m_vectors.cpp >=================================================================== >--- common/m_vectors.cpp (revision 5459) >+++ common/m_vectors.cpp (working copy) >@@ -541,16 +541,16 @@ > { > // find the smallest component of the vector src > v3double_t tempvec; >- double minelem = src->x; >+ double minelem = fabs(src->x); > double *mincomponent = &(tempvec.x); >- if (abs(src->y) < minelem) >+ if (fabs(src->y) < minelem) > { >- minelem = abs(src->y); >+ minelem = fabs(src->y); > mincomponent = &(tempvec.y); > } >- if (abs(src->z) < minelem) >+ if (fabs(src->z) < minelem) > { >- minelem = abs(src->z); >+ minelem = fabs(src->z); > mincomponent = &(tempvec.z); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 610566
:
464690
|
464692
|
464694
|
464696
|
464698
| 464748