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?
已解决! 转到解答。
Please add '-w err' option in PowerPC linker settings, just as the attached screenshot.
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.