[email protected] wrote on 18.03.2005 16:54:05:
> Message: 3
> Date: Fri, 18 Mar 2005 12:30:34 +0100
> From: rseku <[email protected]>
> Subject: [Mspgcc-users] BIC_SR_IRQ(LPM4)
>
> Is it correct if when using BIC_SR_IRQ(LPM4) withing interrupt I get
> below warnig:
> warning: concatenation of string literals with __FUNCTION__ is
deprecated
Hello rseku,
yes, this seems to be "correct".
How-2-Do a dirty 'hackaround':
To get rid of this i did a "make.bat" that called the makefile,
captured the output and tweaked it a little bit with sed
before letting my IDE see the output.
here are the lines:
------------8<-------------
rem FUCK-COMPILER-WARNING
sed15 -e "s/^keyb.c\:.*__FUNCTION__//g" err_work.txt >err_keyb.txt
------------8<-------------
As it only happend in one file (keyb.c) this is hardcoded here.
This doesn't remove the complete warning, but just enough of it
to disable the error parsing of my editor in this case.
Any other (& better) solution known?
Ciao,
Helmut