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

Bug#57914: libc6-dev: sys/io.h doesn't work with g++



Package: libc6-dev
Version: 2.1.3-2


Hi,

I recently upgraded to the latest libc6 and gcc/g++ in potato, and now my
C++ programs using sys/io.h no longer work.  The problem appears to be that
two consecutive ':' operators used in some of the __asm__ lines are
interpreted as a C++ '::', which does something totally different.

The fix for me was to change all instances of '::' to ': :' in sys/io.h.

Thanks,

Avery


-- System Information
Debian Release: potato
Kernel Version: Linux insight 2.2.14 #19 Sat Feb 12 14:38:52 EST 2000 i586 unknown

Versions of the packages libc6-dev depends on:
ii  libc6          2.1.3-2        GNU C Library: Shared libraries and Timezone


Reply to: