質問編集履歴
1
詳しく
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,6 +1,30 @@
|
|
1
|
+
#include <stdio.h>
|
2
|
+
|
3
|
+
main()
|
4
|
+
|
5
|
+
{
|
6
|
+
|
7
|
+
printf("Hello World\n");
|
8
|
+
|
9
|
+
}
|
10
|
+
|
11
|
+
エラー文全文
|
12
|
+
|
13
|
+
19:39:04 **** Rebuild of configuration Debug for project C ****
|
14
|
+
|
15
|
+
Info: Internal Builder is used for build
|
16
|
+
|
17
|
+
gcc -O0 -g3 -Wall -c -fmessage-length=0 -o stack.o "..\stack.c"
|
18
|
+
|
19
|
+
gcc -o C.exe stack.o
|
20
|
+
|
1
21
|
c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../libmingw32.a(main.o):(.text.startup+0xb0): undefined reference to `WinMain@16'
|
2
22
|
|
3
|
-
|
23
|
+
collect2.exe: error: ld returned 1 exit status
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
19:39:04 Build Failed. 1 errors, 0 warnings. (took 655ms)
|
4
28
|
|
5
29
|
----------------------------------------------------
|
6
30
|
|