parse errors in netinet/in.h
Andreas Jaeger
aj@suse.de
Sun Jun 13 14:06:00 GMT 2004
skg <skgnu@yahoo.com> writes:
> --- Andreas Jaeger <aj@suse.de> wrote:
>>
>> This case looks like a problem in glibc. Please
>> provide selfcontained
>> testcase in glibc's bugzilla at
>> http://sources.redhat.com/bugzilla
>>
>> Andreas
>> --
> Okay, I will try to come up with a standalone test
> case, but similiar problems occur whenever you mix
> kernel headers and glibc headers. e.g.
>
>
> #include <stdio.h>
> #include <netinet/in.h>
> #include <linux/byteorder/generic.h>
You're not allowed to include kernel header in user space programs.
If this is indeed the error, then you're on your own.
Btw. this is off-topic for this mailing list, the list is about
development of GCC and not with GCC,
Andreas
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20040613/898b51a1/attachment.sig>
More information about the Gcc
mailing list