Odd error: ‘FILE *’ differs in levels of indirection from ‘FILE’ [closed]

The ‘levels of indirection’ language means that one is a type and the other is a pointer to that type. In this case, FILE is a type and FILE* is a pointer to that type. You are using one where the other was expected, most likely you are passing *gvLog (an object of type FILE) to a stdio function that expects a FILE* (a pointer to an object of type FILE).

Leave a Comment