- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I would like to translate KBA222957 into Japanese.
Thanks,
Original KBA:
Translated by Kenshow
==============================
タイトル: PSoC Creator™でプロジェクトをビルド中のエラーメッセージ「expected '='、 '、'、 ';'、 'asm' or '__attribute__' before 'typedef'」-PSoC Creator™でプロジェクトをビルド中 - KBA222957
バージョン:**
質問:
PSoC Creator™でプロジェクトをビルドしたとき、「expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'」というエラーメッセージが表示されます。この問題を解決するにはどうすればよろしいでしょうか?
回答:
includeステートメントの前のコード行の構文に従わない場合、Arm®GCCは最初のインクルードの最初の行の前に発生したとしてエラーを報告します。以下に示すように、stdlib.hのコードの最初の行に余分な文字「a」が追加されている例を考えてみます。
a//sample
#include <stdlib.h>
#include <stdio.h>w
#include <string.h>
int main (int argc, char** argc) {}
int main (int argc, char** argc) {}
この例では、GCCコンパイラーはstddef.hに構文エラーを報告します。これは、以下に示すエラーメッセージに似ています。
エラーを解決するには、余分な文字「a」を削除します。
==============================
7-May-2020
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, Kenshow-san
We receive your translation, it will be published to KBA to Community.
After upload, You will receive the points as the word of KBA.
Due to the current delay of internal review, Please bear with me for the delayed the response.
It could be delayed, but it will be processed soon.
Thanks for your contribution to CDC!
Will keep you update the status.
Thanks,
Jenna Jo