When trying to compile my program, the following error occurs:
calling fdopen: Bad file descriptor
I read that this could be a problem with including a precompiled header in one of my header files. The file causing the error includes the stdio.h header, so I have access to the FILE type. If I remove this, the error will disappear, but then I cannot use the FILE type. Does anyone know how I can fix this?
source
share