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

Bug#317740: #include <asm/timex.h> causing build error



Package: linux-kernel-headers
Version: 2.6.12.0-1
Severity: Important

All of my source files with the following (#include <asm/timex.h>) now fail with
this error:

--SNIP--

In file included from /usr/include/asm/processor.h:18,
                 from /usr/include/asm/timex.h:10,
                 from test.cpp:21:
/usr/include/asm/system.h:247: error: expected `,' or `...' before "new"
/usr/include/asm/system.h: In function `long unsigned int __cmpxchg(volatile
void*, long unsigned int, long unsigned int)':
/usr/include/asm/system.h:250: error: `size' undeclared (first use this function)
/usr/include/asm/system.h:250: error: (Each undeclared identifier is reported
only once for each function it appears in.)
/usr/include/asm/system.h:254: error: expected identifier before ')' token
/usr/include/asm/system.h:260: error: expected identifier before ')' token
/usr/include/asm/system.h:266: error: expected identifier before ')' token

--SNIP--

Note: I have tested against gcc-3.4 and gcc-4.0 with no luck so far.

Regards,
C.



Reply to: