00a95 셜록홈즈의 조사 / 와이디어ljh | |||||||||||||||||||||||
|
컴파일 결과 |
---|
In function 'main': | |
20:5: warning: implicit declaration of function 'pritnf' [-Wimplicit-function-declaration] | |
7:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] | |
10:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] | |
22:5: warning: 'g' may be used uninitialized in this function [-Wmaybe-uninitialized] | |
22:5: warning: 'f' may be used uninitialized in this function [-Wmaybe-uninitialized] | |
22:5: warning: 'e' may be used uninitialized in this function [-Wmaybe-uninitialized] | |
In function `main': | |
(.text.startup+0xa3): undefined reference to `pritnf' | |
(.text.startup+0xb1): undefined reference to `pritnf' | |
(.text.startup+0xc5): undefined reference to `pritnf' | |
error: ld returned 1 exit status | |
소스 정적 분석 결과 |
---|
10: (warning) scanf() without field width limits can crash with huge input data. | |
13: (error) Uninitialized variable: e | |
15: (error) Uninitialized variable: f | |
17: (error) Uninitialized variable: g |