• Rise from your gwave!

There is some error when compiling...

Discussion in 'Saturn Dev' started by Daniel Eriksson, Jan 16, 2002.

  1. Daniel Eriksson

    Daniel Eriksson New Member

    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.
     
  2. ExCyber

    ExCyber Staff Member

    It's probably on the line before the if; make sure you have semicolons and closing parens/brackets in the right places.
     

Share This Page