Date: Thu, 18 Jan 1996 19:47:21 +1100 From: Bruce Evans <bde@zeta.org.au> To: jdp@polstra.com, terry@lambert.org Cc: freebsd-current@FreeBSD.org Subject: Re: src/lib/libc/sys/Makefile.inc: proposed change Message-ID: <199601180847.TAA04433@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> Why not: >> >> movl $ ## FOO,%eax >> >> Instead? >> >> If it hits the preprocessor first, it should be no problem. >Clever idea, but it won't work. The `##' operator has meaning only >within a macro expansion. I double-checked the ANSI C standard, just to >make sure. movl $ FOO,%eax works, but is ugly and would require too many source code changes. It used to be used a lot in /sys/i386/i386/*.s. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601180847.TAA04433>