Borderou de evaluare (job #1758461)
Utilizator | Vintila Mircea VintilaMMM | Data | 17 septembrie 2016 12:17:48 |
---|---|---|---|
Problema | Hashuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:100:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%li", &i);
^
user.cpp:104:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%hi %li", &cmd, &arg);
^
/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libc.a(malloc.o): In function `free':
(.text+0x4b00): multiple definition of `free'
/tmp/cc6h3dhs.o:(.bss+0x0): first defined here
/usr/bin/ld: Warning: size of symbol `free' changed from 12 in /tmp/cc6h3dhs.o to 140 in /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libc.a(malloc.o)
/usr/bin/ld: Warning: type of symbol `free' changed from 1 to 2 in /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libc.a(malloc.o)
collect2: error: ld returned 1 exit status
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !