Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, March 2004
compiler " long long" error under Vc++6


Message 1 in thread

 I got a compiler problem 
when I build this fonction
SClient( long long fileSz);
Somebody have helped me get
it fixed?

The below is the error information:

/************/
> client.h(14) : error C2632: 'long' followed by 'long' is illegal
/*** end ***/


Message 2 in thread

On 2-03-2004 10:00, "Weichun YANG" <yang@doremitechno.com> wrote:

> I got a compiler problem
> when I build this fonction
> SClient( long long fileSz);
> Somebody have helped me get
> it fixed?
> 
> The below is the error information:
> 
> /************/
>> client.h(14) : error C2632: 'long' followed by 'long' is illegal
> /*** end ***/

I am not sure, this is a really tough question, but may be removing one of
the two "long" could help ;)

How is this related to Qt anyway?

Davide


Message 3 in thread

Weichun YANG wrote:

> I got a compiler problem 
>when I build this fonction
>SClient( long long fileSz);
>Somebody have helped me get
>it fixed?
>
>The below is the error information:
>
>/************/
>  
>
>>client.h(14) : error C2632: 'long' followed by 'long' is illegal
>>    
>>
>/*** end ***/
>
>  
>
VC6 does not support 'long long'. Use __int64 on that platform for a 64 
bit int.

- Keith


Message 4 in thread

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Windows you can use the define LONGLONG which is a __int64 on 64 bit 
system, or a struct with two longs on 32 bit systems.


Am Dienstag, 2. März 2004 10:00 schrieb Weichun YANG:
>  I got a compiler problem
> when I build this fonction
> SClient( long long fileSz);
> Somebody have helped me get
> it fixed?
>
> The below is the error information:
>
> /************/
>
> > client.h(14) : error C2632: 'long' followed by 'long' is illegal
>
> /*** end ***/
>
> --
> List archive and information: http://lists.trolltech.com/qt-interest/

- -- 
mit freundlichen Grüßen / best regards

Gerhard Gappmeier <gerhard.gappmeier@ascolab.com>
ascolab GmbH - automation systems communication laboratory
http://www.ascolab.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFARFWIB81vglqsUMQRAnvBAKCqhvl8Re392v40yVdnkY0yaAauZgCglJFK
caOEUstRWdztSWwJ7Bxb6iY=
=psoO
-----END PGP SIGNATURE-----