delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/08/04:36:46

Date: Wed, 8 Jul 1998 11:35:53 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
cc: GiedriusS <gss AT writeme DOT com>, djgpp AT delorie DOT com
Subject: Re: Q: what's the difference between 'X' and '__X__'?
In-Reply-To: <199807071251.OAA16230@acp3bf.physik.rwth-aachen.de>
Message-ID: <Pine.SUN.3.91.980708113530.5286D-100000@is>
MIME-Version: 1.0

On Tue, 7 Jul 1998, Hans-Bernhard Broeker wrote:

> If you want your program to be maximally ANSI compliant, use '__asm__'
> and 'volatile'. (But using '__asm__' still obviously means you won't
> be able to compile the source on anything but gcc, so you might just
> as well use 'asm' right away).

The most important use of __asm__ and such likes is in header files
which have to work under all possible compiler switches, such as -ansi
and -traditional.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019