C: parse error before .... ?

Gast #295655
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
Gast #295656
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" ;).

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren