Hallo,
one more with c++. Why are the macros __NFDBITS and __FDMASK redefined
inside linux/posix_types.h. For me it looks the same at first glance.
# make
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I../kcpplib -I/usr/src/linux/include
-I/usr/rtlinux/include -I/usr/rtlinux/include/compat -I/usr/rtlinux/include/posix
-Wall -Wstrict-prototypes -Winline -m486 -malign-loops=2 -malign-jumps=2
-malign-functions=2 -fno-exceptions -fno-rtti -pipe -fno-strength-reduce
-mpreferred-stack-boundary=2 -DCPU=686 -march=i686 -Wall -Wstrict-prototypes -D__RTL__
-D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -g -DDEBUG -c DaqCard.cc
In file included from /usr/include/stdio.h:40,
from
/usr/lib/gcc-lib/i386-redhat-linux/2.95.2/../../../../include/g++-3/cstdio:6,
from DaqCard.cc:44:
/usr/include/bits/types.h:95: warning: `__NFDBITS' redefined
/usr/src/linux/include/linux/posix_types.h:22: warning: this is the location of the
previous definition
/usr/include/bits/types.h:97: warning: `__FDMASK' redefined
/usr/src/linux/include/linux/posix_types.h:34: warning: this is the location of the
previous definition
Next, how was in sucess to mix stl headers and kernel headers ?
stl_alloc.h fails with PTHREAD_MUTEX_INITIALIZER
Thanks Olaf
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/