This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: parse errors in netinet/in.h


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

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]