This may sound like a completely stupid question at this point, but why not simply use the "wakeup" function modifier? Such as in this example:
interrupt (BASICTIMER_VECTOR) wakeup BasicTimerIRQ(void) You never said which power mode or in which type of function you are trying to switch modes from. I had the same problem w/ the warning for many months and I decided I didn't like it, so I changed my code to use this and it works perfectly, no warning. Personally, I don't like patching the compiler just to remove a warning. Especially when there is a good way to avoid that warning. That's why there are compiler switches that allow certain warnings to be ignored. Just a thought. -Mark -----Original Message----- From: mspgcc-users-ad...@lists.sourceforge.net [mailto:mspgcc-users-ad...@lists.sourceforge.net] On Behalf Of Chris Liechti Sent: Sunday, March 19, 2006 8:24 PM To: mspgcc-users@lists.sourceforge.net Subject: Re: [Mspgcc-users] Re: How to exit from low power mode? Grant Edwards schrieb: > On 2006-03-19, Chris Liechti <cliec...@gmx.net> wrote: [__FUNCTION__ patch] >>i guess the patch isn't that bad. i'll probably include it for >>future releases. > > That would be cool, thanks. the patch is now included in CVS/packaging/patches/gcc-3.2.3-__FUNCTION__.patch and the makefile in packaging applies it when building gcc. chris ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users