RSSAmplifier

Caleb Schoepp · Oct 11, 2020

Nanosleep Error: Storage Size Isn't Known

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

Compiling a C program that used nanosleep turned out to be quite the thorn in my side. I&rsquo;m documenting this here for anyone else facing the same issues. TL;DR — Try compiling your program with a GNU standard e.g. gcc -std=gnu11 ... Debugging Here&rsquo;s a simplified version of what I was trying to compile. // Compiled via: gcc -std=c99 main.c #include <time.h> int main () { struct timespec…

Read on /blog/2020/nanosleep-error-storage-size-isnt-known/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.