[Bug libstdc++/39835] Bootstrap failure: libstdc++-v3/include/bits/random.h:3630: error: expected �,� or �...� before numeric constant

2009-04-21 Thread ubizjak at gmail dot com


--- Comment #1 from ubizjak at gmail dot com  2009-04-21 10:33 ---
We have a symbol name clash:

This is from libstdc++:

explicit
param_type(_RealType __alpha = _RealType(1),
   _RealType __beta = _RealType(1))
: _M_alpha(__alpha), _M_beta(__beta)

And this from alpha config:

#define TARGET_CPU_CPP_BUILTINS()   \
  do\
{   \
builtin_define (__alpha); \
builtin_define (__alpha__);   \

Can libstdc++ define symbol name to something else instead of __alpha?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39835



[Bug libstdc++/39835] Bootstrap failure: libstdc++-v3/include/bits/random.h:3630: error: expected �,� or �...� before numeric constant

2009-04-21 Thread paolo dot carlini at oracle dot com


--- Comment #2 from paolo dot carlini at oracle dot com  2009-04-21 11:15 
---
Sure, this is an annoying recurring issue, I'll fix it momentarily.


-- 

paolo dot carlini at oracle dot com changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |paolo dot carlini at oracle
   |dot org |dot com
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2009-04-21 11:15:00
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39835



[Bug libstdc++/39835] Bootstrap failure: libstdc++-v3/include/bits/random.h:3630: error: expected �,� or �...� before numeric constant

2009-04-21 Thread paolo at gcc dot gnu dot org


--- Comment #3 from paolo at gcc dot gnu dot org  2009-04-21 11:43 ---
Subject: Bug 39835

Author: paolo
Date: Tue Apr 21 11:42:51 2009
New Revision: 146516

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=146516
Log:
2009-04-21  Paolo Carlini  paolo.carl...@oracle.com

PR libstdc++/39835
* include/bits/random.h: Avoid the badname __alpha (and, for
consistency, __beta too).
* include/bits/random.tcc: Likewise.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/random.h
trunk/libstdc++-v3/include/bits/random.tcc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39835



[Bug libstdc++/39835] Bootstrap failure: libstdc++-v3/include/bits/random.h:3630: error: expected �,� or �...� before numeric constant

2009-04-21 Thread paolo dot carlini at oracle dot com


--- Comment #4 from paolo dot carlini at oracle dot com  2009-04-21 11:44 
---
Fixed.


-- 

paolo dot carlini at oracle dot com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39835