This is the mail archive of the
mailing list for the GCC project.
Re: preprocessor: % as args to #defines
On Jan 29, 2004, at 11:19 AM, Zack Weinberg wrote:
[Please use standard quoting conventions.]
Syd Polk <email@example.com> writes:
Zack Weinberg <firstname.lastname@example.org> writes:
I take the attitude that anything longer than a single instruction
probably ought to be in a separate file of assembly.
It seems that most of Apple's customers do not agree at all; most
major Macintosh software vendors have many many lines of inline
assembly in their source files.
Yeah, I'm aware that mine is a minority position.
It is one of the big preventers of GCC adoption in the Apple world.
I don't see how this follows, however. GCC does support big blocks of
inline assembly acceptably well. Is it a syntax thing?
Yes. Our competition does not require machine description knowledge to use inline assembly. It's syntax is much easier to use.
Stan Shebs implemented this syntax in Apple's version of gcc 3.3 (well, to a certain extent). But it's not in 3.4 or 3.5. Somebody here is going to have to make it work again. Hopefully, whoever that is can spend the huge amount of time necessary to propose it to mainline GCC, and it won't have to be Apple Local forever.
I am not holding my breath.
Technology EPM, Mac OS X Development Tools
+1 408 974-0577