This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Deprecating GCC extensions...
On Mon, Mar 05, 2001 at 05:04:30PM +0100, Andi Kleen wrote:
> > Another alternative is
> >
> > asm("movl x,y \n\
> > movl y,z \n\
> > cmpl bla,blub");
>
> I definitely prefer the multi line string approach. \<end-of-line> is in my
> experience hard to edit because there always sneaks in a white space after the \
> somewhere when you edit a big block of them, giving strange syntax errors.
or maybe
#define NT "\n\t"
asm( "movl x,y"
NT "movl y,z"
NT "cmpl bla,blub" );
--
Carlo Wood <carlo@alinoe.com>