Pagini recente » Borderou de evaluare (job #1588436) | Borderou de evaluare (job #2203938) | Borderou de evaluare (job #350545) | Borderou de evaluare (job #2151724) | Borderou de evaluare (job #1982572)
Borderou de evaluare (job #1982572)
Raport evaluator
Compilare:
In file included from user.c:8:0:
/usr/include/i386-linux-gnu/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" [-Wcpp]
# warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"
^
user.c: In function ‘main’:
user.c:52:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, &size, 1);
^
user.c:53:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, x, sizeof(char)*size);
^
user.c:55:5: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
read(fd1, &size_field, 1);
^
user.c:57:5: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
read(fd1, &the_string, size_field);
^
user.c:69:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, &length, 1);
^
user.c:70:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, "PING", size_field);
^
user.c:71:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, &length, 1);
^
user.c:72:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, "PONG", size_field);
^
user.c:73:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, &variant, sizeof(int));
^
user.c:80:8: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
read(fd1, &number, sizeof(long));
^
user.c:87:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, &size_field, 1);
^
user.c:88:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, "CREATE_SHM", size_field);
^
user.c:90:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, &size_field, 1);
^
user.c:91:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, "ERROR", size_field);
^
user.c:103:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, &size_field, 1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 228kb | Non-zero exit status. | 0 |
2 | 0ms | 228kb | Non-zero exit status. | 0 |
3 | 0ms | 224kb | Non-zero exit status. | 0 |
4 | 0ms | 228kb | Non-zero exit status. | 0 |
5 | 0ms | 228kb | Non-zero exit status. | 0 |
6 | 0ms | 224kb | Non-zero exit status. | 0 |
7 | 0ms | 228kb | Non-zero exit status. | 0 |
8 | 0ms | 232kb | Non-zero exit status. | 0 |
9 | 0ms | 224kb | Non-zero exit status. | 0 |
10 | 0ms | 224kb | Non-zero exit status. | 0 |
Punctaj total | 0 |