You are probably programming c or c++ and banging your head against the wall because of error C2275 illegal use of this type as an expression.
check if you have declared a variable after the frist assignment in a function! remember: in c all variables have to be declared before any other statement.
stop banging!