bug-gplusplus
[Top][All Lists]
Advanced

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

g++/glibc bug?


From: Ra
Subject: g++/glibc bug?
Date: Tue, 26 Dec 2000 03:31:27 +0200

hi there

there seems to be a problem in g++ or in <sys/io.h> header;
when i compile the following test program:
--------------------
#include <sys/io.h>

int
main()
 {
    return 0;
 }
---------------------

i get the following error:

/usr/include/sys/io.h: In function `void outb(unsigned char, short
unsigned int)':
/usr/include/sys/io.h:98: parse error before `::'
-- truncated --

the above program compiled with `gcc' (as a `c' code not `c++') works
fine
so i suppose that g++ recognize `::' - which is assembler code - as a
call
to an object?

cya
 Nicholas

ps. plz do not reply to the sender address - doesn't work!





reply via email to

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