[Prev][Next][Index]
Re: pc++ / printf problem
- Date: Thu, 2 Feb 95 13:48:44 -0800
- From: Nate Bernstein <nate@skinner.cs.uoregon.edu>
- To: bfatyga@slab.cica.indiana.edu
- Cc: mohr@cs.uoregon.edu, sage-bugs@cica.cica.indiana.edu
- In-Reply-To: <9502022011.AA17628@skinner.cs.uoregon.edu> (bfatyga@slab.cica.indiana.edu)
- Subject: Re: pc++ / printf problem
> Hmm, when I tried this for the following input:
>
> Processor_Main(){
> unsigned int i;
> printf ("i = %d\n", i);
> }
>
>
>
> I at least got this much:
>
> int pcxx_printf1(char *pCar_0, int pCar_1){
> if ((pcxx_NodeNumber() == 0) || pcxx_inpar)
>
> {
> printf(pCar_0, pCar_1);
> }
> return 1;
>
> Notice the "int" in front of pCar_1. If you did not, that means there
> is something funny going on that I do not understand.
the problem has been happening for long and unsigned long, not for int.
--nate