[Top][All Lists]

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

[Tinycc-devel] glibc non c99?

From: Mike Partin
Subject: [Tinycc-devel] glibc non c99?
Date: Thu, 14 Oct 2004 11:21:07 -0500

I'm not sure what exactly is going on, and I'm not the most knowledgable
person when it comes to C but....on 2 different src trees so far when
compiling with tcc I get to an error on line NNNN, after running the
file through cpp to include all the headers and going to line NNNN I
always end up in a glibc header where tcc was having a problem. Is this
behaviour normal and is there another libc I should be using or am I
just missing something really obvious? Here is an example:

address@hidden epic4-2.0 $ make CC=tcc
make[1]: Entering directory `/home/djmike/epic4-2.0/source'
tcc -g -O  -I./../include -I../include -c alias.c
tcc -g -O  -I./../include -I../include -c alist.c
tcc -g -O  -I./../include -I../include -c array.c
tcc -g -O  -I./../include -I../include -c clock.c
tcc -g -O  -I./../include -I../include -c commands.c
tcc -g -O  -I./../include -I../include -c compat.c
tcc -g -O  -I./../include -I../include -c crypt.c
tcc -g -O  -I./../include -I../include -c ctcp.c
tcc -g -O  -I./../include -I../include -c dcc.c
tcc -g -O  -I./../include -I../include -c debug.c
tcc -g -O  -I./../include -I../include -c exec.c
tcc -g -O  -I./../include -I../include -c files.c
tcc -g -O  -I./../include -I../include -c flood.c
tcc -g -O  -I./../include -I../include -c functions.c
tcc -g -O  -I./../include -I../include -c gailib.c
tcc -g -O  -I./../include -I../include -c glob.c
tcc -g -O  -I./../include -I../include -c help.c
tcc -g -O  -I./../include -I../include -c history.c
tcc -g -O  -I./../include -I../include -c hook.c
tcc -g -O  -I./../include -I../include -c if.c
tcc -g -O  -I./../include -I../include -c ignore.c
tcc -g -O  -I./../include -I../include -c input.c
tcc -g -O  -I./../include -I../include -c ./irc.c      \
tcc -g -O  -I./../include -I../include -c ircaux.c
tcc -g -O  -I./../include -I../include -c ircsig.c
tcc -g -O  -I./../include -I../include -c keys.c
tcc -g -O  -I./../include -I../include -c lastlog.c
tcc -g -O  -I./../include -I../include -c list.c
list.c:101: warning: assignment makes pointer from integer without a
tcc -g -O  -I./../include -I../include -c log.c
tcc -g -O  -I./../include -I../include -c logfiles.c
tcc -g -O  -I./../include -I../include -c mail.c
tcc -g -O  -I./../include -I../include -c names.c
tcc -g -O  -I./../include -I../include -c network.c
tcc -g -O  -I./../include -I../include -c newio.c
tcc -g -O  -I./../include -I../include -c notice.c
tcc -g -O  -I./../include -I../include -c notify.c
tcc -g -O  -I./../include -I../include -c numbers.c
tcc -g -O  -I./../include -I../include -c output.c
tcc -g -O  -I./../include -I../include -c parse.c
parse.c:1321: sizeof applied to an incomplete type
make[1]: *** [parse.o] Error 1
make[1]: Leaving directory `/home/djmike/epic4-2.0/source'
make: *** [epic] Error 2


line 1321 of the file parse.c reads thusly:
          num_protocol_cmds = NUMBER_OF_COMMANDS;


after running cpp on the parse.c this is line 1321:
        # 1 "/usr/include/time.h" 1 3 4

reply via email to

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