[Bug libstdc++/37470] New: parallel/base.h log2 conflicts with math.h
paul dot isaacson at earthlink dot net
gcc-bugzilla@gcc.gnu.org
Wed Sep 10 22:17:00 GMT 2008
Line 112 of parallel/base.h declares an inline function log2. This name is in
conflict with any usage of math.h log2 and causes compilation errors for
programs using pmode and math.h. Changing the calls from log2 to xlog2
throughout the subdir parallel/*.h files (base.h, losertree.h,
multiseq_selection.h and random_shuffle.h) resolves the conflict.
--
Summary: parallel/base.h log2 conflicts with math.h
Product: gcc
Version: 4.3.2
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: paul dot isaacson at earthlink dot net
GCC build triplet: i686-pc-cygwin
GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37470
More information about the Gcc-bugs
mailing list