[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compiles with warnings on Darwin / Mac OS X
From: |
Eugene Lee |
Subject: |
compiles with warnings on Darwin / Mac OS X |
Date: |
Mon, 2 Jul 2001 10:58:59 -0700 |
User-agent: |
Mutt/1.2i |
Well, it compiles all the way without the make breaking. But I still
got some warnings (see below for the first two). Apologies to Thomas
for not responding sooner.
cc -o make_hash -O2 -I../ncurses -I. -DNDEBUG -I. -I../include
-I/usr/local/include/ncurses -DHAVE_CONFIG_H -DMAIN_PROGRAM ./tinfo/comp_hash.c
../include/tic.h:271: illegal function definition, found `__attribute__'
../include/tic.h:272: illegal function definition, found `__attribute__'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
cd ../objects; cc -I../ncurses -I. -DNDEBUG -I. -I../include
-I/usr/local/include/ncurses -DHAVE_CONFIG_H -O2 -c
../ncurses/./base/lib_chgat.c
../ncurses/./base/lib_chgat.c:47: syntax error, found `__attribute__'
../ncurses/./base/lib_chgat.c:47: illegal function definition, found `)'
../ncurses/./base/lib_chgat.c:53: illegal external declaration, found `if'
../ncurses/./base/lib_chgat.c:54: illegal method selector, found `8'
../ncurses/./base/lib_chgat.c:54: illegal method definition, missing `{' after
`)'
../ncurses/./base/lib_chgat.c:54: illegal external declaration, found `else'
../ncurses/./base/lib_chgat.c:54: illegal method selector, found `8'
../ncurses/./base/lib_chgat.c:54: illegal method definition, missing `{' after
`)'
../ncurses/./base/lib_chgat.c:56: illegal external declaration, found `for'
../ncurses/./base/lib_chgat.c:56: illegal method selector, found `1'
../ncurses/./base/lib_chgat.c:56: illegal method definition, missing `{' after
`)'
../ncurses/./base/lib_chgat.c:56: illegal external declaration, missing `;'
after `i'
../ncurses/./base/lib_chgat.c:57: illegal method selector, found `1UL'
../ncurses/./base/lib_chgat.c:57: illegal method definition, missing `{' after
`attr'
../ncurses/./base/lib_chgat.c:59: illegal external declaration, found `return'
../ncurses/./base/lib_chgat.c:61: illegal method selector, found `1'
../ncurses/./base/lib_chgat.c:61: illegal method definition, missing `{' after
`)'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
--
Eugene Lee
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- compiles with warnings on Darwin / Mac OS X,
Eugene Lee <=