[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bugs in /usr/include/sys/io.h

From: Petr Vandrovec
Subject: Re: Bugs in /usr/include/sys/io.h
Date: Mon, 1 Oct 2001 21:16:06 MET-1

On  1 Oct 01 at 11:47, Brad Chapman wrote:
> > > __asm__ __volatile__ ("outw %w0,%w1"::"a" (value), "Nd" (port));
> > >                                     ^^
> > >                                     ||  C++ scope operator
> scope operator. In this case, it is an assembly operator being _mistaken_
> for the C++ scope operator, because of either a bug in io.h or a bug in
> gcc 2.95.3's C++/assembly paths. What should I do to fix this? Upgrading to
> gcc 3.x is a noop.

Just put space between them:  ...%w1": :"a" ... Or upgrade to a newer
glibc which already uses space between these ":".
                                                    Petr Vandrovec

reply via email to

[Prev in Thread] Current Thread [Next in Thread]