AF_ISO, AF_NS, AF_IMPLINK not portable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Released
|
Medium
|
Abdulaziz Ghuloum |
Bug Description
On my x86 Ubuntu 7.04:
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -DNDEBUG -O3 -Wall -MT ikarus-io.o -MD -MP -MF .deps/ikarus-io.Tpo -c -o ikarus-io.o ikarus-io.c
ikarus-io.c: In function ‘get_family’:
ikarus-io.c:120: error: ‘AF_ISO’ undeclared (first use in this function)
ikarus-io.c:120: error: (Each undeclared identifier is reported only once
ikarus-io.c:120: error: for each function it appears in.)
ikarus-io.c:121: error: ‘AF_NS’ undeclared (first use in this function)
ikarus-io.c:122: error: ‘AF_IMPLINK’ undeclared (first use in this function)
These are nowhere to be found in my system's include files.
I found:
http://
Which says:
"As of version 1.0 of Linux: AF_ISO, AF_IMPLINK and AF_NS are not supported."
It looks like other projects do:
#ifdef AF_XXX
use_it;
#endif
Changed in ikarus: | |
status: | Fix Committed → Fix Released |
Removed in revision 1296. They were not even used. I just had them for debugging. Thanks.