Forum: PC-Programmierung C: parse error before .... ?


von EZ81__ (Gast)


Lesenswert?

Mal eine blöde C-Frage eines Anfängers:

void mat_output(double **mat, int n, int m, FILE *outputfile)
{
    /* gekürzt */
}

produziert bei make folgende Fehlermeldung:

gcc                  -Wall -ansi      -c mat_output.c
mat_output.c:1: error: parse error before "FILE"
make: *** [mat_output.o] Error 1

Was übersehe ich da?

Grüße
;Matthias

von EZ81__ (Gast)


Lesenswert?

AAHHH!
Wie immer, 1 Std rätseln, in einem Forum posten und nach 2 min selbst
auf die Antwort kommen ( #include vergessen, wie peinlich). Nächstes
mal poste ich solche Fragen als "Lisa/17/blond" ;).

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.