Menu

#26 darwin: u_int not uint

open
nobody
None
5
2016-06-21
2016-06-21
ilovezfs
No

The patch fixes the build failure below.

clang -DHAVE_CONFIG_H -I. -I../..  -I../..  -I/usr/local/Cellar/libftdi0/0.20/include -fPIC -Wall  -O3 -Wno-unused-function -c -o ula200-ula200.o `test -f 'ula200.c' || echo './'`ula200.c
clang -DHAVE_CONFIG_H -I. -I../..  -I../..  -fPIC -Wall  -O3 -Wno-unused-function -c -o vlsys_m428.o vlsys_m428.c
clang -DHAVE_CONFIG_H -I. -I../..  -I../..  -fPIC -Wall  -O3 -Wno-unused-function -c -o rawserial.o rawserial.c
rm -f libLCD.a
ar cru libLCD.a lcd_lib.o 
clang -fPIC -Wall  -O3 -Wno-unused-function -bundle -flat_namespace -undefined suppress  -o ea65.so ea65.o  -ldl 
ranlib libLCD.a
rawserial.c:63:2: error: unknown type name 'uint'; did you mean 'int'?
        uint refresh_time;              /**< time at the last screen update */
        ^~~~
        int
rawserial.c:64:2: error: unknown type name 'uint'; did you mean 'int'?
        uint refresh_delta;             /**< time step to next screen update */
        ^~~~
        int
rawserial.c:69:8: error: unknown type name 'uint'; did you mean 'int'?
static uint get_millisecond_time(void);
       ^~~~
       int
rawserial.c:306:2: error: use of undeclared identifier 'uint'; did you mean 'int'?
        uint currentTime = get_millisecond_time();
        ^~~~
        int
rawserial.c:418:8: error: unknown type name 'uint'; did you mean 'int'?
static uint
       ^~~~
       int
5 errors generated.
make[3]: *** [rawserial.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
1 Attachments

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.