You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sugi@Z690:~/jquery-practice$ gcc main.c
In file included from main.c:2:
jquery.h: In function ‘appendTo’:
jquery.h:125:15: error: parameter name omitted
125 | void appendTo(char*) {
| ^~~~~
このコードをコンパイルしようとした際、以下のエラーでコンパイルできませんでした。
該当の行の変数に適当な名前(
s
など)をつけてあげると正常にコンパイル・実行できました。gcc std=c17
などいくつかの規格を試しましたが、元のコードではコンパイルできませんでした。環境は以下の通りです。The text was updated successfully, but these errors were encountered: