On Tue, Oct 21, 2008 at 9:32 AM, Joe Buck <[EMAIL PROTECTED]> wrote:
> On Mon, Oct 20, 2008 at 07:21:49PM -0700, Andrew Pinski wrote:
>> On Mon, Oct 20, 2008 at 7:19 PM, Peng Yu <[EMAIL PROTECTED]> wrote:
>> > Could you please help explain what the difference between typeof and
>> > decltype are? W
On Mon, Oct 20, 2008 at 07:21:49PM -0700, Andrew Pinski wrote:
> On Mon, Oct 20, 2008 at 7:19 PM, Peng Yu <[EMAIL PROTECTED]> wrote:
> > Could you please help explain what the difference between typeof and
> > decltype are? What are c++0x/g++0x modes?
>
> Well decltype is part of the C++0x standar
On Mon, Oct 20, 2008 at 9:09 PM, Andrew Pinski <[EMAIL PROTECTED]> wrote:
> On Mon, Oct 20, 2008 at 7:04 PM, Peng Yu <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I tried to compile the following program, but I got the following
>> error. Is it a bug of GCC? Has it been fixed in a newer version GCC?
>>
>
On Mon, Oct 20, 2008 at 7:19 PM, Peng Yu <[EMAIL PROTECTED]> wrote:
> Could you please help explain what the difference between typeof and
> decltype are? What are c++0x/g++0x modes?
Well decltype is part of the C++0x standard
(http://gcc.gnu.org/projects/cxx0x.html,
http://www.open-std.org/jtc1/s
On Mon, Oct 20, 2008 at 9:09 PM, Andrew Pinski <[EMAIL PROTECTED]> wrote:
> On Mon, Oct 20, 2008 at 7:04 PM, Peng Yu <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I tried to compile the following program, but I got the following
>> error. Is it a bug of GCC? Has it been fixed in a newer version GCC?
>>
>
On Mon, Oct 20, 2008 at 7:04 PM, Peng Yu <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I tried to compile the following program, but I got the following
> error. Is it a bug of GCC? Has it been fixed in a newer version GCC?
>
It is a bug in GCC but in later versions 4.3.0 and above, we get a
sorry message: