tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] /usr/include/netdb.h:692: identifier expected


From: grischka
Subject: Re: [Tinycc-devel] /usr/include/netdb.h:692: identifier expected
Date: Wed, 08 Sep 2010 19:18:20 +0200
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Nigel Horne wrote:
On 32-bit Linux systems, this fails to compile:

#define    _GNU_SOURCE

#include <stdio.h>
#include <netdb.h>

main()
{
    puts("hello, world");
}

I would like to have _GNU_SOURCE so that I can get the prototype for memmem. I don't get the compilation failure on 64-bit Linux systems.

Any ideas?

Could you show the offending lines in the preprocessor output
("tcc -E hello.c -o hello.i")?


-Nigel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]