tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] 0.9.22: GNU nano compile error


From: charlesrandall4-tinycc
Subject: [Tinycc-devel] 0.9.22: GNU nano compile error
Date: Tue, 16 Nov 2004 18:57:33 -0800 (PST)

Trying to build GNU nano-1.2.3 with tcc 0.9.22 on RH9
I get the following error,

/tmp/cfr/bin/tcc
-DSYSCONFDIR=\"/home/crandall/src/tcc-test/tmp/etc\"
-I. -I. -I. -Iintl
-DLOCALEDIR=\"/home/crandall/src/tcc-test/tmp/share/locale\"
-I/home/crandall/src/tcc-test/tmp/include    -g -c
`test -f 'nano.c' || echo './'`nano.c
nano.c:1805: cannot use pointers here

Looking at this section of nano.c, line 1805 is a
blank line:

    1798     while ((bytesread = read(uniq_fd[0],
read_buff_ptr, pipe_buff_size)
    1798 ) > 0) {
    1799         read_buff_read += bytesread;
    1800         read_buff_size += pipe_buff_size;
    1801         read_buff = read_buff_ptr =
charealloc(read_buff, read_buff_siz
    1801 e);
    1802         read_buff_ptr += read_buff_read;
    1803
    1804     }
    1805
    1806     *read_buff_ptr = (char)NULL;
    1807     close(uniq_fd[0]);

What, and where, is the error?

-Charles






reply via email to

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