Hi Paul,

You are using the correct method to wake an ISR.

See the thread "[Mspgcc-users] warning: concatenation of string literals
with __FUNCTION__ is deprecated" posted on the 11 Feb 03 for more info.

Regards
Luke

-----Original Message-----
From: Paul Georgief [mailto:p...@ucsd.edu] 
Sent: Friday, 9 May 2003 11:12 AM
To: mspgcc-users@lists.sourceforge.net
Subject: [Mspgcc-users] _BIC_SR_IRQ warning

MSPGCC group:

What is the proper way to conditionally wake in an ISR?  
When I use the _BIC_SR_IRQ() function there is a warning issued that
says:

Warning: concatenation of string literals with __FUNCTION__ is
deprecated

It works fine, but why is the warning generated?


Thanks,
-Paul


======== 

(code example I am typing in by hand - hopefully I will not make a
mistake)

interrupt (TIMERA0_VECTOR) ISR_timerA(void) {
if (wakeup_flag_set_by_another_isr)
   _BIC_SR_IRQ(SCG1|SCG0|CPUOFF);
}


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users


This email is confidential and intended solely for the use of the individual to 
whom it is addressed.  Any views or opinions presented are solely those of the 
author and do not necessarily represent those of Nautronix Ltd.

If you are not the intended recipient, you have received this email in error and
use, dissemination, forwarding, printing, or copying of this email is strictly
prohibited.  If you have received this email in error please contact the sender.

Although our computer systems use active virus protection software, and we take
various measures to reduce the risk of viruses being transmitted in e-mail
messages and attachments sent from this company, we cannot guarantee that such
e-mail messages and attachments are free from viruses on receipt.  It is a
condition of our using e-mail to correspond with you, that any and all liability
on our part arising directly or indirectly out of any virus is excluded.
Please ensure that you run virus checking software on all e-mail messages and
attachments before reading them.


Reply via email to