質問編集履歴
3
test
CHANGED
File without changes
|
test
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
PWM_DutyCycle.c:66:1:warning: control reches end of non-void function[-Wunused-type]
|
30
30
|
|
31
|
-
collect2.exe: ld returned 1 exit status
|
31
|
+
collect2.exe:error: ld returned 1 exit status
|
32
32
|
|
33
33
|
|
34
34
|
|
2
test
CHANGED
File without changes
|
test
CHANGED
@@ -184,6 +184,10 @@
|
|
184
184
|
|
185
185
|
GCC Developer Lite (Ver.2.5.0.0 Copyright(C)BestTechnology CO.,LTD 1999-2012)
|
186
186
|
|
187
|
+
コンパイルのコマンドは、上記の環境で用意されている、ビルドというアイコンもしくは、コンパイルの項目の中のビルドを選択するかのどちらかです。
|
188
|
+
|
189
|
+
Linux系やコマンドプロンプトのようにコマンドを打ち込んでコンパイルを行っていません。
|
190
|
+
|
187
191
|
|
188
192
|
|
189
193
|
よろしくお願いします。
|
1
ご指摘頂いたので追加させていただくのと、タイトルで質問内容にがわかりやすいようにしたつもりです。
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
C言語でマイコン(H8/3664)のPWM周期とFTIOB~FTIODのDuty比を計算させたいがエラーが
|
1
|
+
C言語でマイコン(H8/3664)のPWM周期とFTIOB~FTIODのDuty比を計算させたいがコンパイルでエラーが出る。
|
test
CHANGED
@@ -12,13 +12,23 @@
|
|
12
12
|
|
13
13
|
(linkingに問題が発生しているのでは?と考えていますが、原因がわかりません。)
|
14
14
|
|
15
|
-
醜い、コードですみません、どなたか助けて頂けない
|
15
|
+
醜い、コードですみません、どなたか助けて頂けない
|
16
|
+
|
17
|
+
でしょうか?
|
16
18
|
|
17
19
|
|
18
20
|
|
19
21
|
### 発生している問題・エラーメッセージ
|
20
22
|
|
23
|
+
PWM_DutyCycle.c:5:40: warning: variable 'Duty_Cycle_D'set but not use [-Wunused-but-set-variable]
|
24
|
+
|
25
|
+
PWM_DutyCycle.c:5:26: warning: variable 'Duty_Cycle_C'set but not use [-Wunused-but-set-variable]
|
26
|
+
|
27
|
+
PWM_DutyCycle.c:5:12: warning: variable 'Duty_Cycle_B'set but not use [-Wunused-but-set-variable]
|
28
|
+
|
29
|
+
PWM_DutyCycle.c:66:1:warning: control reches end of non-void function[-Wunused-type]
|
30
|
+
|
21
|
-
collect2.exe: ld returned 1 exit status
|
31
|
+
collect2.exe: ld returned 1 exit status
|
22
32
|
|
23
33
|
|
24
34
|
|