------ Build started: Project: projekti, Configuration: Debug Win32 ------ Compiling... main.c main.c(34) : error C2143: syntax error : missing ';' before 'type' main.c(36) : error C2143: syntax error : missing ';' before 'type' main.c(39) : error C2065: 'foo' : undeclared identifier main.c(39) : error C2224: left of '.x' must have struct/union type main.c(39) : error C2065: 'x1' : undeclared identifier main.c(40) : error C2224: left of '.y' must have struct/union type main.c(40) : error C2065: 'y1' : undeclared identifier main.c(44) : warning C4013: 'luo_piste' undefined; assuming extern returning int main.c(44) : error C2099: initializer is not a constant main.c(46) : error C2143: syntax error : missing ')' before 'string' main.c(46) : error C2143: syntax error : missing '{' before 'string' main.c(46) : error C2059: syntax error : '' main.c(46) : error C2059: syntax error : ')' main.c(48) : error C2079: 'summavektori' uses undefined struct 'Piste' main.c(51) : error C2079: 'paikkavektoreiden_summa' uses undefined struct 'Piste' main.c(52) : error C2079: 'foo' uses undefined struct 'Piste' main.c(53) : error C2224: left of '.x' must have struct/union type main.c(54) : error C2224: left of '.y' must have struct/union type main.c(56) : error C2440: 'return' : cannot convert from 'int' to 'Piste' main.c(59) : error C2099: initializer is not a constant main.c(61) : error C2143: syntax error : missing ')' before 'string' main.c(61) : error C2143: syntax error : missing '{' before 'string' main.c(61) : error C2059: syntax error : '' main.c(61) : error C2059: syntax error : ')' main.c(63) : error C2059: syntax error : '}' B