Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #10616
| From | Miles Bader <miles@gnu.org> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: Half templates does not work. |
| Date | 2011-10-01 07:35 +0900 |
| Message-ID | <877h4p4q0p.fsf@catnip.gol.com> (permalink) |
| References | <d82bd711-cf85-4a8b-acda-cbd4482f2f4d@18g2000yqz.googlegroups.com> <j63fra$npc$1@dont-email.me> <50e167fe-13e3-47fb-9e97-2c363206b688@d26g2000vby.googlegroups.com> |
From: Nephi Immortal <immortalnephi@gmail.com> > On Sep 29, 11:16 pm, red floyd <no.spam.h...@its.invalid> wrote: > > There may be no problem with your code. It is reporting an > > internal error in the compiler (it got in a state it shouldn't > > have). Check with a different compiler (or even a different > > version of the MSVC). > > If you read several websites, it tells the same problem on MSVC > 2005, 2008, and 2010. There is no fix. Do you think Intel C++ > Compiler will work? What about GCC? Have you tested it before? The code contains a persistent error: it uses "typename typedef ..." in a bunch of places, which should really be "typedef typename ...". After fixing that problem, it compiles fine in both g++ and clang++. -Miles -- Americans are broad-minded people. They'll accept the fact that a person can be an alcoholic, a dope fiend, a wife beater, and even a newspaperman, but if a man doesn't drive, there is something wrong with him. -- Art Buchwald
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Half templates does not work. Nephi Immortal <immortalnephi@gmail.com> - 2011-09-29 16:25 -0700
Re: Half templates does not work. red floyd <no.spam.here@its.invalid> - 2011-09-29 21:16 -0700
Re: Half templates does not work. Nephi Immortal <immortalnephi@gmail.com> - 2011-09-30 05:15 -0700
Re: Half templates does not work. Miles Bader <miles@gnu.org> - 2011-10-01 07:35 +0900
Re: Half templates does not work. Noah Roberts <roberts.noah@gmail.com> - 2011-09-30 09:25 -0700
Re: Half templates does not work. Nephi Immortal <immortalnephi@gmail.com> - 2011-09-30 12:17 -0700
Re: Half templates does not work. Ian Collins <ian-news@hotmail.com> - 2011-10-01 09:08 +1300
csiph-web