avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] How to force GCC to not to remove "nop" statements ?


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] How to force GCC to not to remove "nop" statements ?
Date: Fri, 20 Feb 2009 08:03:52 +0100 (MET)

Vincent Trouilliez <address@hidden> wrote:

> lcd.c:96: error: »asm« undeclared (first use in this function)

That's because you are using a -std setting the prevents GCC from
using its extensions by a name ("asm") that is in the application name
space, like -std=c99.  Either use -std=gnu99, or (as you already did)
use the implementation namespace counterpart __asm__.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]