bug-gnulib
[Top][All Lists]
Advanced

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

Re: Minor portability compilation error: '#include_next' problem with TC


From: Assaf Gordon
Subject: Re: Minor portability compilation error: '#include_next' problem with TCC (Tiny C Compiler)
Date: Mon, 15 Sep 2014 13:37:40 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1

On 09/15/2014 01:31 PM, Assaf Gordon wrote:
I've encountered a compilation error when compiling gnulib with TCC ( Tiny C 
Compiler, http://bellard.org/tcc/ ):
it seems the "#include_next" is not working properly, but "m4/include_next.m4" 
does not detect it.

Tested with TCC version 0.9.26 from the standard debian/stable package.


To clarify, the error I've included stems from the gnulib's 'test-base64.c',
but same happens in other C projects which use gnulib's base64.c module, as in:

    $ make
    <...>
    source='lib/base64.c' object='lib/base64.o' libtool=no \
        DEPDIR=.deps depmode=tcc /bin/bash ./build-aux/depcomp \
        tcc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I.  -Ilib 
-I./lib -Isrc -I./src   -g -c -o lib/base64.o lib/base64.c
    In file included from lib/base64.c:48:
    In file included from lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    In file included from ./lib/stdlib.h:36:
    ./lib/stdlib.h:36: error: #include recursion too deep
    make[2]: *** [lib/base64.o] Error 1
Thanks,
 - Assaf



reply via email to

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