[Bug c++/35637] tr1::function fails with const member function pointer

2008-03-20 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2008-03-20 15:49 --- In mainline, -pedantic-errors is needed. That seems weird to me, maybe Maunel can help here. On the other hand, a problem with library code seems also likely. -- pcarlini at suse dot de changed: What|Rem

[Bug c++/35637] tr1::function fails with const member function pointer

2008-03-20 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2008-03-20 15:42 --- Interestingly, current mainline is not affected. Thus, either the mainline compiler regressed (that is the library is actually buggy and the mainline compiler should reject the code, like the 4_3-branch compiler does), or s