[Bug c++/38681] Internal compiler error. expr.c:6956 [Template instantiation with non-type value of member function ptr]

2009-01-30 Thread bangerth at gmail dot com
--- Comment #7 from bangerth at gmail dot com 2009-01-30 15:51 --- (In reply to comment #5) Did I understand this wrong ? Does the correct interpretation of the standard not allow for member-function-pointers as non-type arguments ? It does, but it requires them to be in a

[Bug c++/38681] Internal compiler error. expr.c:6956 [Template instantiation with non-type value of member function ptr]

2008-12-31 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-12-31 16:10 --- This is close to duplicate of bug 37093. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38681

[Bug c++/38681] Internal compiler error. expr.c:6956 [Template instantiation with non-type value of member function ptr]

2008-12-31 Thread juvvij at gmail dot com
--- Comment #5 from juvvij at gmail dot com 2008-12-31 17:31 --- From the C++ standards doc (Latest download form the website) (excerpt listed below), I thought that member functions could be allowed. I am not entirely sure if *function* can also refer to *member-function*.

[Bug c++/38681] Internal compiler error. expr.c:6956 [Template instantiation with non-type value of member function ptr]

2008-12-31 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2008-12-31 17:40 --- — pointer to member., or This includes pointer to member functions. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38681

[Bug c++/38681] Internal compiler error. expr.c:6956 [Template instantiation with non-type value of member function ptr]

2008-12-30 Thread juvvij at gmail dot com
--- Comment #1 from juvvij at gmail dot com 2008-12-31 07:42 --- Created an attachment (id=17017) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17017action=view) Preprocessed test case that causes the compiler error. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38681

[Bug c++/38681] Internal compiler error. expr.c:6956 [Template instantiation with non-type value of member function ptr]

2008-12-30 Thread juvvij at gmail dot com
--- Comment #2 from juvvij at gmail dot com 2008-12-31 07:43 --- Created an attachment (id=17018) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17018action=view) Details of gcc from output of g++ -v -save-temps -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38681

[Bug c++/38681] Internal compiler error. expr.c:6956 [Template instantiation with non-type value of member function ptr]

2008-12-30 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-31 07:49 --- ulong ConnectCB(GtkWidget* pWidget, const char* sigName, _R(_ClassType::*MemFun)(GtkWidget*, _A1)) { typedef CBFamily2_ClassType, _R, GtkWidget*, _A1, MemFun TCallbackType; This