Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

_Generic / struct

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.12 sec, absolute running time: 0.13 sec, cpu time: 0 sec, memory peak: 3 Mb, absolute service time: 0,34 sec 
edit mode |  history  | discussion
Warning(s):
source_file.c:17:16: warning: unused variable 'j' [-Wunused-variable]
    struct foo j = foo_make(i);
               ^
source_file.c:17:29: warning: variable 'i' is uninitialized when used here [-Wuninitialized]
    struct foo j = foo_make(i);
                            ^
source_file.c:11:22: note: expanded from macro 'foo_make'
        struct foo: (x),                             \
                     ^
source_file.c:16:5: note: variable 'i' is declared here
    struct foo i;
    ^
2 warnings generated.

        

    
                
λ
.NET NoSQL database for rapid development