pingus-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AW: AW: Binaries for Windows NT


From: Ingo Ruhnke
Subject: Re: AW: AW: Binaries for Windows NT
Date: 27 Sep 2002 21:36:28 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

David Philippi <address@hidden> writes:

> On Friday 27 September 2002 15:00, Ingo Ruhnke wrote:
>> Sure? I don't think so, that would allow things like:
>>  (a = b) = c;
>> Which the normal operator=() for int and floats does not allow.
> 
> Did you try? I guess not since his is legal code!

Yes, but in a C compiler, not in a C++ one, which gives:

[=Pingus=:/tmp]$ gcc -pedantic -ansi bla.c -o bla
bla.c: In function `main':
bla.c:7: invalid lvalue in assignment

While a C++ compiler compiled it without a problem:

[=Pingus=:/tmp]$ g++ -pedantic -ansi bla.c -o bla
[=Pingus=:/tmp]$ 

My fault.

-- 
WWW:      http://pingus.seul.org/~grumbel/ 
Games:    http://pingus.seul.org/~grumbel/gamedesigns/
JabberID: address@hidden 
ICQ:      59461927




reply via email to

[Prev in Thread] Current Thread [Next in Thread]