[Bug c++/44906] g++ is giving error: parse error in template argument list while using a c++ code.

2010-07-10 Thread raychaudhuri_amitava at yahoo dot com
--- Comment #5 from raychaudhuri_amitava at yahoo dot com 2010-07-10 18:45 --- (In reply to comment #4) > The error message is not clear. The issue is that you are not using a > constant > expression for a template arugment. Template arguments are either constant > ex

[Bug c++/44906] g++ is giving error: parse error in template argument list while using a c++ code.

2010-07-10 Thread raychaudhuri_amitava at yahoo dot com
--- Comment #3 from raychaudhuri_amitava at yahoo dot com 2010-07-10 15:45 --- Created an attachment (id=21178) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21178&action=view) .ii file generated by -save-temps -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44906

[Bug c++/44906] g++ is giving error: parse error in template argument list while using a c++ code.

2010-07-10 Thread raychaudhuri_amitava at yahoo dot com
--- Comment #2 from raychaudhuri_amitava at yahoo dot com 2010-07-10 15:44 --- Created an attachment (id=21177) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21177&action=view) .s file generated by -save-temps -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44906

[Bug c++/44906] g++ is giving error: parse error in template argument list while using a c++ code.

2010-07-10 Thread raychaudhuri_amitava at yahoo dot com
--- Comment #1 from raychaudhuri_amitava at yahoo dot com 2010-07-10 15:44 --- Created an attachment (id=21176) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21176&action=view) Code which is failing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44906

[Bug c++/44906] New: g++ is giving error: parse error in template argument list while using a c++ code.

2010-07-10 Thread raychaudhuri_amitava at yahoo dot com
}; int main(void) { MISC m; m.add(0); m.add(1); m.add(2); m.add(3); return 0; } -- Summary: g++ is giving error: parse error in template argument list while using a c++ code. Product: gcc Version: 4.4.3 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: raychaudhuri_amitava at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44906