On 2007-03-29, [email protected] 
<[email protected]> wrote:

>> 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

> i don't know if this unremoveable warning is still in place,
> but the following rule in a Makefile will remove as much as
> you like.
>
> #---------------------------------------------------------------
> %.o : %.c
> {TAB}   @$(CC) $(COPT) -c $< -o $@  2>&1 | sed -e 
> "s/^.*\:.*__FUNCTION__ is deprecated/This warning can be safely 
> ignored!/g"
> #---------------------------------------------------------------

That doesn't help anybody who uses -Werror to ensure that
projects compile without warnings.

-- 
Grant Edwards                   grante             Yow!  I'm young... I'm
                                  at               HEALTHY... I can HIKE
                               visi.com            THRU CAPT GROGAN'S LUMBAR
                                                   REGIONS!


Reply via email to