deepthroat
Erfahrenes Mitglied
Hi.
Da fehlen noch ein paar Funktionen.
Bevor du dich an die Fehlersuche machst, solltest du erstmal die ganzen Warnungen berichtigen:
Gruß
Da fehlen noch ein paar Funktionen.
Bevor du dich an die Fehlersuche machst, solltest du erstmal die ganzen Warnungen berichtigen:
Code:
stops.c:20:1: warning: return type defaults to 'int' [-Wreturn-type]
stops.c: In function 'Berechnung_aus_Datei_Gauss':
stops.c:84:5: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration]
stops.c:30:11: warning: variable 'speicher' set but not used [-Wunused-but-set-variable]
stops.c: In function 'Eingabe_Geokoord':
stops.c:130:7: warning: implicit declaration of function 'Eingabe_Geo_Tastatur' [-Wimplicit-function-declaration]
stops.c:135:7: warning: implicit declaration of function 'Berechnung_aus_Datei_Geo' [-Wimplicit-function-declaration]
stops.c: At top level:
stops.c:150:1: warning: return type defaults to 'int' [-Wreturn-type]
stops.c: In function 'Eingabe_Geo_Tastatur':
stops.c:171:7: warning: implicit declaration of function 'Eingabe_Geo_hexa' [-Wimplicit-function-declaration]
stops.c:176:7: warning: implicit declaration of function 'Eingabe_Geo_dezi' [-Wimplicit-function-declaration]
stops.c: At top level:
stops.c:190:1: warning: return type defaults to 'int' [-Wreturn-type]
stops.c:207:1: warning: return type defaults to 'int' [-Wreturn-type]
stops.c: In function 'Eingabe_Geo_hexa':
stops.c:217:3: warning: label 'gehe_zu_5' defined but not used [-Wunused-label]
stops.c: At top level:
stops.c:288:1: warning: return type defaults to 'int' [-Wreturn-type]
stops.c: In function 'Eingabe_Gausskoord':
stops.c:361:7: warning: implicit declaration of function 'Eingabe_Gauss_Tastatur' [-Wimplicit-function-declaration]
stops.c: At top level:
stops.c:380:1: warning: return type defaults to 'int' [-Wreturn-type]
stops.c: In function 'Eingabe_Gauss_Tastatur':
stops.c:389:3: warning: format '%i' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat]
stops.c: In function 'main':
stops.c:476:1: warning: control reaches end of non-void function [-Wreturn-type]
stops.c: In function 'Eingabe_Gauss_Tastatur':
stops.c:442:1: warning: control reaches end of non-void function [-Wreturn-type]
stops.c: In function 'Eingabe_Geo_dezi':
stops.c:343:1: warning: control reaches end of non-void function [-Wreturn-type]
stops.c: In function 'Eingabe_Geo_hexa':
stops.c:286:1: warning: control reaches end of non-void function [-Wreturn-type]
stops.c: In function 'Berechnung_aus_Datei_Geo':
stops.c:205:1: warning: control reaches end of non-void function [-Wreturn-type]
stops.c: In function 'Eingabe_Geo_Tastatur':
stops.c:188:1: warning: control reaches end of non-void function [-Wreturn-type]
stops.c: In function 'Ausgabe_Datei':
stops.c:23:1: warning: control reaches end of non-void function [-Wreturn-type]
stops.c: In function 'Berechnung_aus_Datei_Gauss':
stops.c:32:3: warning: 'zeilenanzahl' is used uninitialized in this function [-Wuninitialized]
stops.c: In function 'Berechnung_aus_Datei_Geo':
stops.c:196:3: warning: 'zeilenanzahl' is used uninitialized in this function [-Wuninitialized]
Zuletzt bearbeitet: