gcc -DPACKAGE_NAME=\"yagiuda\" -DPACKAGE_TARNAME=\"yagiuda\" -DPACKAGE_VERSION=\"1.19\" -DPACKAGE_STRING=\"yagiuda\ 1.19\" -DPACKAGE_BUGREPORT=\"david.kirkby@onetel.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yagiuda\" -DVERSION=\"1.19\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_ERRNO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_
input.c: In function ‘main’:STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_ERRNO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_
input.c:60:9: error: implicit declaration of function ‘gets’; did you mean ‘fgets’? [-Werror=implicit-function-declaration]
60 | gets(notes);
| ^~~~
| fgets
input.c:64:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
64 | scanf("%lf", &frequency);
| ^~~~~~~~~~~~~~~~~~~~~~~~
input.c:66:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
66 | scanf("%lf", &min_f);
| ^~~~~~~~~~~~~~~~~~~~
input.c:68:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
68 | scanf("%lf", &max_f);
| ^~~~~~~~~~~~~~~~~~~~
input.c:70:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
70 | scanf("%lf", &step_f);
| ^~~~~~~~~~~~~~~~~~~~~
input.c:77:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
77 | scanf("%c", &data_entry);
| ^~~~~~~~~~~~~~~~~~~~~~~~
input.c:78:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
78 | scanf("%c", &data_entry);
| ^~~~~~~~~~~~~~~~~~~~~~~~
input.c:98:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
98 | scanf("%d",&elements);
| ^~~~~~~~~~~~~~~~~~~~~
input.c:106:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
106 | scanf("%lf",&angular_step);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
input.c:118:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
118 | scanf("%c",&response);
| ^~~~~~~~~~~~~~~~~~~~~
input.c:119:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
119 | scanf("%c",&response);
| ^~~~~~~~~~~~~~~~~~~~~
input.c:123:17: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
123 | scanf("%lf", &diameter);
| ^~~~~~~~~~~~~~~~~~~~~~~
input.c:132:17: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
132 | scanf("%lf", &d[i][X]);
| ^~~~~~~~~~~~~~~~~~~~~~
input.c:137:25: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
137 | scanf("%lf", &d[i][Y]);
| ^~~~~~~~~~~~~~~~~~~~~~
input.c:142:17: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
142 | scanf("%lf", &d[i][LENGTH]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
input.c:148:25: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
148 | scanf("%lf", &d[i][DIAMETER]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
input.c:164:20: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
164 | scanf("%lf", &p[1][LENGTH]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
input.c:168:25: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
168 | scanf("%lf", &p[i][Y]);
| ^~~~~~~~~~~~~~~~~~~~~~
input.c:175:25: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
175 | scanf("%lf", &p[i][DIAMETER]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
input.c:181:20: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
181 | scanf("%lf", &p[i][X]);
| ^~~~~~~~~~~~~~~~~~~~~~
input.c:185:25: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
185 | scanf("%lf", &p[i][Y]);
| ^~~~~~~~~~~~~~~~~~~~~~
input.c:190:20: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
190 | scanf("%lf", &p[i][LENGTH]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
input.c:196:25: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
196 | scanf("%lf", &p[i][DIAMETER]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DPACKAGE_NAME=\"yagiuda\" -DPACKAGE_TARNAME=\"yagiuda\" -DPACKAGE_VERSION=\"1.19\" -DPACKAGE_STRING=\"yagiuda\ 1.19\" -DPACKAGE_BUGREPORT=\"david.kirkby@onetel.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yagiuda\" -DVERSION=\"1.19\" -DHAVE_LIBM=1 -DHAVE_
gcc -DPACKAGE_NAME=\"yagiuda\" -DPACKAGE_TARNAME=\"yagiuda\" -DPACKAGE_VERSION=\"1.19\" -DPACKAGE_STRING=\"yagiuda\ 1.19\" -DPACKAGE_BUGREPORT=\"david.kirkby@onetel.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yagiuda\" -DVERSION=\"1.19\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_ERRNO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_
gcc -DPACKAGE_NAME=\"yagiuda\" -DPACKAGE_TARNAME=\"yagiuda\" -DPACKAGE_VERSION=\"1.19\" -DPACKAGE_STRING=\"yagiuda\ 1.19\" -DPACKAGE_BUGREPORT=\"david.kirkby@onetel.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yagiuda\" -DVERSION=\"1.19\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_ERRNO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_
output.c: In function ‘main’:STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_ERRNO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_
output.c:140:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
140 | fread((char *) &coordinates[1], sizeof(struct element_data),elements,ifp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
output.c:145:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
145 | fread((char *) &voltage[1], sizeof(struct FCOMPLEX),elements, ifp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
output.c:167:17: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
167 | fread((char *) ¤t[1], sizeof(struct FCOMPLEX),elements, ifp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DPACKAGE_NAME=\"yagiuda\" -DPACKAGE_TARNAME=\"yagiuda\" -DPACKAGE_VERSION=\"1.19\" -DPACKAGE_STRING=\"yagiuda\ 1.19\" -DPACKAGE_BUGREPORT=\"david.kirkby@onetel.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yagiuda\" -DVERSION=\"1.19\" -DHAVE_LIBM=1 -DHAVE_
gcc -DPACKAGE_NAME=\"yagiuda\" -DPACKAGE_TARNAME=\"yagiuda\" -DPACKAGE_VERSION=\"1.19\" -DPACKAGE_STRING=\"yagiuda\ 1.19\" -DPACKAGE_BUGREPORT=\"david.kirkby@onetel.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yagiuda\" -DVERSION=\"1.19\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_ERRNO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_
read_header.c: In function ‘read_header’:STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_ERRNO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_
read_header.c:15:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
15 | fread((char *) &elements, sizeof(elements), 1, ifp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read_header.c:16:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
16 | fread((char *) &driven, sizeof(driven), 1, ifp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read_header.c:17:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
17 | fread((char *) ¶sitic, sizeof(parasitic), 1, ifp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DPACKAGE_NAME=\"yagiuda\" -DPACKAGE_TARNAME=\"yagiuda\" -DPACKAGE_VERSION=\"1.19\" -DPACKAGE_STRING=\"yagiuda\ 1.19\" -DPACKAGE_BUGREPORT=\"david.kirkby@onetel.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yagiuda\" -DVERSION=\"1.19\" -DHAVE_LIBM=1 -DHAVE_
read_header.c:18:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
18 | fread((char *) min_f, sizeof(*min_f), 1, ifp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read_header.c:19:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
19 | fread((char *) max_f,sizeof(*max_f), 1, ifp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read_header.c:20:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
20 | fread((char *) f, sizeof(*f), 1, ifp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
read_header.c:21:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
21 | fread((char *) step_f, sizeof(*step_f), 1, ifp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read_header.c:22:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
22 | fread((char *) angular_step, sizeof(*angular_step), 1, ifp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors
make[2]: *** [Makefile:615: input.o] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 08:30:11 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,200 |