お世話になります。
MariaDBをソースからビルド、RPMパッケージを作成しようと
cmake,makeしたのですがパッケージファイル作成時に下記の警告メッセージが出力されます。
(下記の警告メッセージは各々独立しています)
- 警告: ‘xxx’ may be used uninitialized in this function
- 警告: ‘xxx’ defined but not used
- 警告: dereferencing type-punned pointer will break strict-aliasing rules
- 警告: type-punning to incomplete type might break strict-aliasing rules
- 警告: dereferencing pointer ‘xxx’ does break strict-aliasing rules
- 警告: null argument where non-null required (argument 1)
- 警告: passing ‘xx’ for argument x to ‘xx’
- 警告: converting to ‘zzz’ from ‘xxx’
- 警告: ‘xxx’ is used uninitialized in this function
- 警告: invalid access to non-static data member ‘xxx’ of NULL object
- 警告: (perhaps the ‘offsetof’ macro was used incorrectly)
- warning: the use of ‘mktemp‘ is dangerous, better use ‘mkstemp‘
- 警告: command line option "xxx" is valid for C/ObjC but not for C++
出力したエラーは見ればわかるような警告も記載しておりますが
警告メッセージについての下記をご教示願えますでしょうか
・詳細(ソースに関係なく一般的な)
・原因(ソースに関係なく一般的な)
・対応(ソースに関係なく一般的な)
以上です。よろしくお願いいたします。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2015/12/01 11:00
2015/12/01 12:15 編集
2015/12/02 03:45
2015/12/02 03:53
2019/01/05 07:25