Borderou de evaluare (job #1282364)
| Utilizator | Data | 4 decembrie 2014 04:59:19 | |
|---|---|---|---|
| Problema | CMMDC | Status | done |
| Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:15:5: warning: implicit declaration of function ‘asm’ [-Wimplicit-function-declaration]
asm(".intel_syntax noprefix");
^
user.c:10:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen(IN, "r", stdin);
^
user.c:11:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OUT, "w", stdout);
^
user.c:13:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
/tmp/ccJRxR1d.o: In function `main':
user.c:(.text.startup+0x67): undefined reference to `asm'
user.c:(.text.startup+0x73): undefined reference to `asm'
user.c:(.text.startup+0x7f): undefined reference to `asm'
user.c:(.text.startup+0x8b): undefined reference to `asm'
user.c:(.text.startup+0x97): undefined reference to `asm'
/tmp/ccJRxR1d.o:user.c:(.text.startup+0xa3): more undefined references to `asm' follow
collect2: error: ld returned 1 exit status
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
