Date: Tue, 13 Aug 1996 13:16:29 -0600 From: Steve Passe <smp@csn.net> To: Alexander Seth Jones <ajones@ctron.com> Cc: hackers@freefall.freebsd.org Subject: Re: hackers-digest V1 #1372 Message-ID: <199608131916.NAA20143@clem.systemsix.com> In-Reply-To: Your message of "Tue, 13 Aug 1996 11:16:26 PDT." <199608131816.LAA01279@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
> I'm writing a device driver in C++, and have run into a problem with
>the GENSPL macro in <machine/spl.h>. g++ is croaking on the statement:
>
>__asm __volatile("":::"memory");
>
>with the following error:
>
>parse error before "::"
This has been fixed in 2.1.5 spl.h:
108c110
< __asm __volatile("":::"memory"); \
---
> __asm __volatile("" : : : "memory"); \
--
Steve Passe | powered by
smp@csn.net | FreeBSD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608131916.NAA20143>
