Treat linker warnings as errors

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Treat linker warnings as errors

ソリューションへジャンプ
1,563件の閲覧回数
twp
Contributor III

When using the PowerPC linker in CodeWarrior 10.4 (eclipse based), it generates a warning if sections overlap.  Is there a way to change this to be reported as an error?


I've had a look through the tool settings for the PowerPC linker but cannot see any option that would convert warnings to errors.  Is it possible to modify the Freescale Linker Error Parser?

ラベル(1)
1 解決策
1,259件の閲覧回数
TICS_Fiona
NXP Employee
NXP Employee

Please add '-w err' option in PowerPC linker settings, just as the attached screenshot.

元の投稿で解決策を見る

2 返答(返信)
1,260件の閲覧回数
TICS_Fiona
NXP Employee
NXP Employee

Please add '-w err' option in PowerPC linker settings, just as the attached screenshot.

1,259件の閲覧回数
kannank
Contributor I

Is there any option to treat particular warning alone as error?

I was expecting options to treat specific warning (OR) specific group of warnings only as an error.

[Ref: Visual studio - https://docs.microsoft.com/en-us/cpp/build/reference/compiler-option-warning-level]

If you find/know similar options in code warrior, let me know.

0 件の賞賛