[Bug libstdc++/37470] parallel/base.h log2 conflicts with math.h
singler at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Sep 19 11:39:00 GMT 2008
------- Comment #4 from singler at gcc dot gnu dot org 2008-09-19 11:38 -------
Subject: Bug 37470
Author: singler
Date: Fri Sep 19 11:37:16 2008
New Revision: 140490
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140490
Log:
2008-09-19 Johannes Singler <singler@ira.uka.de>
PR libstdc++/37470
* include/parallel/base.h: Rename log2 to __log2.
(__log2) Avoid infinite loop for n <= 0, return 0.
* include/parallel/losertree.h: Rename log2 to __log2.
* include/parallel/multiseq_selection.h: Likewise.
* include/parallel/random_shuffle.h: Likewise.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/parallel/base.h
trunk/libstdc++-v3/include/parallel/losertree.h
trunk/libstdc++-v3/include/parallel/multiseq_selection.h
trunk/libstdc++-v3/include/parallel/random_shuffle.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37470
More information about the Gcc-bugs
mailing list