-
-
Neuer Benutzer
Öfters hier
Danke für die Antwort
Aber jetzt kommt ein Ar*** voll fehler:
test.c -o test.o
test.c: In function `main':
test.c:30: error: parse error before ';' token
test.c:24: warning: unused variable `i'
test.c: At top level:
test.c:32: warning: type defaults to `int' in declaration of `LineData'
test.c:32: warning: parameter names (without types) in function declaration
test.c:32: error: conflicting types for `LineData'
asuro.h:79: error: previous declaration of `LineData'
test.c:32: warning: data definition has no type or storage class
test.c:33: warning: type defaults to `int' in declaration of `ADOffset'
test.c:33: error: initializer element is not constant
test.c:33: warning: data definition has no type or storage class
test.c:34: warning: type defaults to `int' in declaration of `speedLeft'
test.c:34: error: initializer element is not constant
test.c:34: warning: data definition has no type or storage class
test.c:35: error: parse error before ';' token
test.c:37: warning: type defaults to `int' in declaration of `i'
test.c:37: error: initializer element is not constant
test.c:37: warning: data definition has no type or storage class
test.c:38: error: parse error before "if"
test.c:40: warning: type defaults to `int' in declaration of `LineLeft'
test.c:40: warning: function declaration isn't a prototype
test.c:40: error: conflicting types for `LineLeft'
test.c:11: error: previous declaration of `LineLeft'
test.c:40: warning: data definition has no type or storage class
test.c:41: error: parse error before '}' token
test.c:44: warning: type defaults to `int' in declaration of `LineRight'
test.c:44: warning: function declaration isn't a prototype
test.c:44: error: conflicting types for `LineRight'
test.c:17: error: previous declaration of `LineRight'
test.c:44: warning: data definition has no type or storage class
test.c:45: error: parse error before '}' token
test.c:48: warning: type defaults to `int' in declaration of `speedLeft'
test.c:48: error: redefinition of `speedLeft'
test.c:34: error: `speedLeft' previously defined here
test.c:48: error: initializer element is not constant
test.c:48: warning: data definition has no type or storage class
test.c:49: error: parse error before '}' token
test.c:50: warning: type defaults to `int' in declaration of `MotorSpeed'
test.c:50: warning: parameter names (without types) in function declaration
test.c:50: error: conflicting types for `MotorSpeed'
asuro.h:71: error: previous declaration of `MotorSpeed'
test.c:50: warning: data definition has no type or storage class
test.c:51: error: parse error before '}' token
test.c:53:2: warning: no newline at end of file
make: *** [test.o] Error 1
> Process Exit Code: 2
Berechtigungen
- Neue Themen erstellen: Nein
- Themen beantworten: Nein
- Anhänge hochladen: Nein
- Beiträge bearbeiten: Nein
-
Foren-Regeln
Lesezeichen