fork download
  1. union esp8266_rtc_exec_context {
  2. struct nautilus_exec_context_t exec_context;
  3. uint8_t serialized_data[ESP8266_RTC_MEMORY_AVAILABLE];
  4. }
  5.  
  6. struct esp8266_rtc_container {
  7. uint32_t checksum;
  8. union esp8266_rtc_exec_context data;
  9. };
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:2:34: error: field ‘exec_context’ has incomplete type
   struct nautilus_exec_context_t exec_context;
                                  ^~~~~~~~~~~~
prog.c:3:3: error: unknown type name ‘uint8_t’
   uint8_t serialized_data[ESP8266_RTC_MEMORY_AVAILABLE];
   ^~~~~~~
prog.c:3:27: error: ‘ESP8266_RTC_MEMORY_AVAILABLE’ undeclared here (not in a function)
   uint8_t serialized_data[ESP8266_RTC_MEMORY_AVAILABLE];
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
prog.c:6:1: error: expected ‘;’, identifier or ‘(’ before ‘struct’
 struct esp8266_rtc_container {
 ^~~~~~
prog.c:7:3: error: unknown type name ‘uint32_t’
   uint32_t checksum;
   ^~~~~~~~
stdout
Standard output is empty