There is some error when compiling...

GO TO ADMIN PANEL > ADD-ONS AND INSTALL VERTIFORO SIDEBAR TO SEE FORUMS AND SIDEBAR

Daniel Eriksson

New Member
Joined
May 5, 2001
Messages
602
Points
16
Website
server3002.freeyellow.com
I tried to compile a game that i have made, but it says:

main.c:20: Syntax error before ìf`

make.exe : *** [main.o] Error 1

The code at 20 is this:

if (Smpc_Peripheral[0].data & PER_DGT_TC == 0)

what is the error? Please help.
 

ExCyber

Staff member
Joined
Aug 8, 2001
Messages
4,014
Points
36
Age
37
It's probably on the line before the if; make sure you have semicolons and closing parens/brackets in the right places.
 
Top