Hi,

I have been going  nuts work Mandrake 7.2 today. Things that used to
work on 7.1 are no longer compiling. SPecifically, anything that
#include's <sys/io.h> will not compile in g++. 

Here is some code that demonstrates the
problem.                                  


#include <sys/io.h>

int main(void)
{
        return 0;
}

When I try to compile this is what I get:
[bshapiro@ilium bshapiro]$ g++ test.c
In file included from test.c:1:
/usr/include/sys/io.h: In function `void outb(unsigned char, short
unsigned int)':
/usr/include/sys/io.h:98: parse error before `::'
/usr/include/sys/io.h: In function `void outb_p(unsigned char, short
unsigned int)':
/usr/include/sys/io.h:104: parse error before `::'
/usr/include/sys/io.h: In function `void outw(short unsigned int, short
unsigned int)':
/usr/include/sys/io.h:111: parse error before `::'
/usr/include/sys/io.h: In function `void outw_p(short unsigned int,
short unsigned int)':
/usr/include/sys/io.h:118: parse error before `::'
/usr/include/sys/io.h: In function `void outl(unsigned int, short
unsigned int)':
/usr/include/sys/io.h:125: parse error before `::'
/usr/include/sys/io.h: In function `void outl_p(unsigned int, short
unsigned int)':
/usr/include/sys/io.h:131: parse error before `::'


Maybe this has been covered in the archives, but I couldn't find it.

Please help.

Thanks,
Ben

Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to