首页 | 新闻 | 新品 | 文库 | 方案 | 视频 | 下载 | 商城 | 开发板 | 数据中心 | 座谈新版 | 培训 | 工具 | 博客 | 论坛 | 百科 | GEC | 活动 | 主题月 | 电子展
返回列表 回复 发帖

[求助]CodeWarrior C语言编译

CodeWariror 8- & 16-bit tools: Compiler warning: "SP debug ..." Options

marc.paquette
Moderator
Posts: 96
Registered: 01-17-2006



Reply 1 of 1

Viewed 236 times


To help you find solutions to problems that have already been solved, we have posted this message. It contains an entire topic ported from a separate forum. The original message and all replies are in this single message.

Posted: Nov 01, 2005 - 02:02 PM

Hello.

I been using codewarrior version 3.1 for hc12 controller series. When working with a project i got 5 compiler warnings with the following message:
"SP debug info incorrect because of optimization or inline assember"

Any ideas how to fix this?

Regards
Gabriel



Posted: Nov 01, 2005 - 06:42 PM

Hi,

I don't remember offhand, but look in the compiler manual and search for the error ID. The error description will list common causes and ways to avoid it.

regards,
Mario


Posted: Nov 02, 2005 - 07:12 AM

Hello,

This warning is generated when an optimization or inline assembly function causes a trouble with the bedug info.

Then the user could met some problem debugging his application.

Refer to the compiler manual to get more info on this warning.
See in the Manual_Compiler_HC12.pdf at \help\pdf

Regards
Pascal Irrle



Posted: Nov 04, 2005 - 09:53 AM

Alright thanks.

I better check the compiler manual first.

Gabriel


---
Marc Paquette
CodeWarrior Ombudsman
Freescale Semiconductor

yuccacl
返回列表