Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #12802
| From | Miles Bader <miles@gnu.org> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: bug in gcc? |
| Date | 2011-12-25 11:36 +0900 |
| Message-ID | <87ipl5v0lj.fsf@catnip.gol.com> (permalink) |
| References | <d304891e-05dc-44f1-9df0-19ada4117dbb@g41g2000yqa.googlegroups.com> <jd4qj2$p91$1@news.albasani.net> |
Johannes Schaub <schaub.johannes@googlemail.com> writes: >> The code compiles if the template function is renamed from 'foo' to >> 'bar'. >> >> Is this a bug? > > GCC behavior is incorrect. It should accept both. Hmm, I notice clang gives the same error .... -miles -- I'd rather be consing.
Back to comp.lang.c++ | Previous | Next — Previous in thread | Find similar | Unroll thread
bug in gcc? Timon Gehr <timon.gehr@gmail.com> - 2011-12-23 03:04 -0800
Re: bug in gcc? "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2011-12-23 12:28 +0100
Re: bug in gcc? Timon Gehr <timon.gehr@gmail.com> - 2011-12-23 04:33 -0800
Re: bug in gcc? Rui Maciel <rui.maciel@gmail.com> - 2011-12-23 13:21 +0000
Re: bug in gcc? Timon Gehr <timon.gehr@gmail.com> - 2011-12-23 05:36 -0800
Re: bug in gcc? Marco Minutoli <mminutoli@gmail.com> - 2011-12-23 14:50 +0100
Re: bug in gcc? Rui Maciel <rui.maciel@gmail.com> - 2011-12-23 14:14 +0000
Re: bug in gcc? Timon Gehr <timon.gehr@gmail.com> - 2011-12-23 06:30 -0800
Re: bug in gcc? jacob navia <jacob@spamsink.net> - 2011-12-23 14:43 +0100
Re: bug in gcc? Johannes Schaub <schaub.johannes@googlemail.com> - 2011-12-24 17:22 +0100
Re: bug in gcc? Miles Bader <miles@gnu.org> - 2011-12-25 11:36 +0900
csiph-web