Why do I have a compilation issues with time.h ?
Mostra commenti meno recenti
When working with the header file time.h, I receive the following error if I use the structure timespec even if the list of header files is correct:
<file.c>: undefined size for `incomplete struct timespec defined at <file.c>:<line> timeout'
If I use the struct itimerspec, I receive the following error:
Verifying test2.c
<file.c>, line 6: error: incomplete type is not allowed
Line 6 is the line where itimerspec is used.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Troubleshoot Compilation Errors in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!