[PATCH] sys/io.h and g++

Scott Bambrough scottb@netwinder.org
Thu Jan 27 09:00:00 GMT 2000


Thorsten Kukuk wrote:
> 
> I have append a patch to make sys/io.h (2.1.3 and 2.2) for i386
> C++ safe.
> 

This fix is fine, but I don't believe it should be necessary.  The C++ parsing
routines should recognize they are in an inline assembler construct and act
accordingly.  IMHO, this is a compiler bug.

Scott

-- 
Scott Bambrough - Software Engineer
REBEL.COM    http://www.rebel.com
NetWinder    http://www.netwinder.org


More information about the Libc-hacker mailing list