[ create a new paste ] login | about

Link: http://codepad.org/qaQ2g0fF    [ raw code | output | fork ]

C, pasted on Dec 3:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
static void Oil2ControlEnd(void)
{
	if(TimerCheck(NO_OILBACK2_ON) != TRUE){		/* 噛み込み制御中			*/
		return;
	}

	OIL2CNT++;									/* 噛み込み制御回数インクリメント	*/
	if(OIL2CNT >= OIL2_PATTERN){
		OIL2CNT = 0;							/* 噛み込み制御回数クリア		*/
	}

	Oil2ClearState();							/* 噛み込み制御 状態クリア		*/
	AVOILF = 0;									/* 油戻し制御 フラグクリア		*/
	AVOILC = 0;									/* 油戻し制御 積算時間クリア	*/
}


Output:
1
2
3
4
5
6
7
8
9
In function 'Oil2ControlEnd':
Line 3: error: 'NO_OILBACK2_ON' undeclared (first use in this function)
Line 3: error: (Each undeclared identifier is reported only once
Line 3: error: for each function it appears in.)
Line 3: error: 'TRUE' undeclared (first use in this function)
Line 7: error: 'OIL2CNT' undeclared (first use in this function)
Line 8: error: 'OIL2_PATTERN' undeclared (first use in this function)
Line 13: error: 'AVOILF' undeclared (first use in this function)
Line 14: error: 'AVOILC' undeclared (first use in this function)


Create a new paste based on this one


Comments: