compile problems

  • Follow


I had trouble compiling some code, this is the smallest snippet I could 
find that causes trouble:

/*****************************************/

typedef unsigned long long ullong;

void
pt(ullong n)
{
     ullong x,y;
     for(x=1;2*x*x <= n*n;x++)
         for(y=x+1;y*y <= n*n - x*x;y++)
             {
             }
     return;
}


int
main(void)
{
     pt(100);
     return 0;
}

/*****************************************/

The error message:
Wedit output window build: Sat Jun 12 03:27:24 2004
LEUL(MULL(INDIRL(ADDRLP(y)), INDIRL(ADDRLP(y))), 
SUBL(MULL(INDIRL(ADDRFP(n)), INDIRL(ADDRFP(n))), MULL(INDIRL(ADDRLP(x)), 
INDIRL(ADDRLP(x)))))Error c:\temp\zunk.c: 8  compiler error in
  +  _kids--
Bad rule number 0
Error c:\temp\zunk.c 8 Compiler error (trap). Stopping compilation
Compilation + link time:1.8 sec, Return code: 1

0
Reply arin_chaudhuri_spam (10) 6/12/2004 7:37:31 AM

Fixed.

Next version will have this fix. I will upload it soon.

Thanks for your report


0
Reply jacob 6/12/2004 11:51:47 AM


Em s=E1bado, 12 de junho de 2004 08h51min47s UTC-3, jacob navia  escreveu:
> Fixed.
>=20
> Next version will have this fix. I will upload it soon.
>=20
> Thanks for your report

Hello,
I still have this "long long" problem, but I still have not found the solut=
ion. I am using a Matlab 32bit on a Windows XP 32bit but I can not compile =
the "long long" variable in the code.
Please, how can I update my compiler?

Regards,
Marcelo.
0
Reply eng.campos (1) 7/23/2012 7:21:54 PM

Le 23/07/12 21:21, eng.campos@gmail.com a �crit :
> Em s�bado, 12 de junho de 2004 08h51min47s UTC-3, jacob navia  escreveu:
>> Fixed.
>>
>> Next version will have this fix. I will upload it soon.
>>
>> Thanks for your report
>
> Hello,
> I still have this "long long" problem, but I still have not found the solution.

I am using a Matlab 32bit on a Windows XP 32bit but I can not compile 
the "long long" variable in the code.
> Please, how can I update my compiler?
>
> Regards,
> Marcelo.
>

Hi Marcelo.

Just download lcc-win 32 bits and replace the version that came with
Matlab.

Jacob


0
Reply jacob31 (869) 7/24/2012 7:27:39 AM

3 Replies
122 Views

(page loaded in 0.153 seconds)

Similiar Articles:













7/15/2012 3:37:49 PM


Reply: