LoginSignup
0
1

More than 5 years have passed since last update.

ideone > link > -Waddressなどの警告を出す方法 > pragma指定をする

Last updated at Posted at 2017-08-02

ideone(C言語)にてtypedef structの型指定間違いについての警告が出ないことで実装を間違っていることに気づかなかった。

自分で探しても-Wallのようなオプションの指定方法は見つけられませんでした。

@fujitanozomu さんのコメントにてpragma指定の方法を教えていただきました。

情報感謝です。

2017年8月現在のシステムではコメントは検索できないため、今後の参照性のために別記事にしました。

関連
https://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html#Diagnostic-Pragmas

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1