Re: install problems - ../../mtl/mtl.h:236: error: dependent-name `mtl::dim_n<Vector>::RET' is parsed as a non-type, but instantiation yields atype...
Gunter Winkler <[email protected]> Sun, 25 Mar 2007 20:56:35 +0200
| Newsgroups | gmane.comp.lib.mtl.devel |
|---|---|
| Message-ID | <[email protected]> |
Jeff Hammond schrieb: > abs_sum.cc:20: instantiated from here > ../../mtl/mtl.h:236: error: dependent-name ` > mtl::dim_n<Vector>::RET' is parsed as a non-type, but > instantiation yields atype > ../../mtl/mtl.h:236: note: say `typename > mtl::dim_n<Vector>::RET' if a type is meant This problem is already known: You have to do exactly what the error messages tells you: insert "typename" in front of the failing type --> typename mtl::dim_n<Vector>::RET mfg Gunter (PS: Try the patch I posted a few weeks ago on this list.) _______________________________________________ This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/