Gcc Error Too Few Template-parameter-lists
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up “too few template-parameter-lists” error up vote 2 down vote favorite There is an error somewhere in the code, but I don't know how to solve. It says "too few template-parameter-lists". I don't understand which is the mistake. Here is the code: #if !defined(VECTOR_H_INCLUDED) # define VECTOR_H_INCLUDED namespace Vec { class Vector_base { public: explicit Vector_base() {} virtual ~Vector_base() {} }; template here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, http://stackoverflow.com/questions/19884494/too-few-template-parameter-lists-error helping each other. Join them; it only takes a minute: Sign up error: too few template-parameter-lists up vote 0 down vote favorite Using the gnu compiler, I'm getting multiples of the error error: too few template-parameter-lists This confuses me since the intel compiler seems to handle this following code segment without so much as a warning: // Template http://stackoverflow.com/questions/19718949/error-too-few-template-parameter-lists to retrieve traits of any MPI object template filtered due to spam. Bug15006 - error: too few template-parameter-lists Summary: error: too few template-parameter-lists Status: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15006 RESOLVED INVALID Alias: None Product: gcc Classification: Unclassified Component: c++ (show other bugs) Version: 3.4.0 Importance: P2 normal Target Milestone: --- Assignee: Not yet assigned to anyone URL: Keywords: Depends on: Blocks: Reported: 2004-04-18 20:52 UTC by Pawel Sikora Modified: 2005-07-23 22:49 UTC (History) CC List: 1 user (show) gcc-bugs See Also: Host: pentium3-pld-linux gcc error Target: pentium3-pld-linux Build: pentium3-pld-linux Known to work: Known to fail: Last reconfirmed: Attachments Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description Pawel Sikora 2004-04-18 20:52:44 UTC testcase # http://149.156.124.14/~pluto/tmp/siod.ii # gcc -v (fresh build) Reading specs from /usr/lib/gcc/pentium3-pld-linux/3.4.0/specs Configured gcc error too with: ../configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++,f77,objc,ada,java --enable-c99 --enable-long-long --enable-multilib --enable-nls --with-gnu-as --with-gnu-ld --with-system-zlib --with-slibdir=/lib --without-x pentium3-pld-linux Thread model: posix gcc version 3.4.0 20040416 (prerelease) (PLD Linux) Comment 1 Andrew Pinski 2004-04-18 21:10:21 UTC Reduced to: template