1948.c:24:5: error: 'main' is normally a non-static function [-Werror=main] 24 int…
Jump to turn (11)
- 11948.c:24:5: error: 'main' is normally a non-static function [-Werror=main] 24 |
- 2yf hecc
- 3на русс
- 4как сделать декодирование через аски 2 в си
- 5данные идут в таком виде 57 4F 52 4C 44
- 6что это значит char ptr = hexString;
- 7без массивов
- 85 | while (scanf("%x", &value) == 1) { | ^ chardecode.c:1:1: note: include ' ' o
- 9chardecode.c:3:1: error: return type defaults to 'int' [-Werror=implicit-int] 3
- 10% для бул переменной в си
- 11bool
- User
1948.c:24:5: error: 'main' is normally a non-static function [-Werror=main] 24 | int main() { | ^~~~ 1948.c:34:1: error: expected declaration or statement at end of input 34 | } | ^ 1948.c:35: error: control reaches end of non-void function [-Werror=return-type] 1948.c: At top level: 1948.c:24:5: error: 'main' defined but not used [-Werror=unused-function] 24 | int main() { | ^~~~ cc1: all warnings being treated as errors veronicb@cl-a2 src % gcc -Wall -Werror -Wextra 1948.c 1948.c: In function 'devider': 1948.c:23:1: error: control reaches end of non-void function [-Werror=return-type] 23 | } | ^
- Assistant