glib/gmessages.c broken



Trying to build todays glib gives the errors below. As far as I can tell
it finally broke with 'owen 1.28', but the brokeness has started
long time ago - redefineing the write() function to take a FILE* 'timj 1.16'
and doing some preprocessor magic to avoid namespace clashes 'tml 1.21'

See:
http://cvs.gnome.org/bonsai/cvsblame.cgi?file=glib/gmessages.c&rev=&root=/cv
s/gnome
for reference. How is it supposed to be fixed ?

Regards,
	Hans


	cl -G5 -GF -Ox -MD -W3 -nologo -Ox -I . -DHAVE_CONFIG_H -DGLIB_COMPILATION
-DG_LOG_DOMAIN=g_log_domain_glib -DG_ENABLE_DEBUG -I ../intl -I
../pango/libiconv-1.3\include /c gmessages.c
gmessages.c
gmessages.c(167) : error C4047: 'function' : 'struct _iobuf *' differs in
levels of indirection from 'int '
gmessages.c(167) : warning C4024: 'dowrite' : different types for formal
and actual parameter 1
gmessages.c(172) : error C4047: 'function' : 'struct _iobuf *' differs in
levels of indirection from 'int '
gmessages.c(172) : warning C4024: 'dowrite' : different types for formal
and actual parameter 1
gmessages.c(174) : error C4047: 'function' : 'struct _iobuf *' differs in
levels of indirection from 'int '
gmessages.c(174) : warning C4024: 'dowrite' : different types for formal
and actual parameter 1
gmessages.c(196) : error C4047: 'function' : 'struct _iobuf *' differs in
levels of indirection from 'int '
gmessages.c(196) : warning C4024: 'dowrite' : different types for formal
and actual parameter 1
gmessages.c(203) : error C4047: 'function' : 'struct _iobuf *' differs in
levels of indirection from 'int '
gmessages.c(203) : warning C4024: 'dowrite' : different types for formal
and actual parameter 1
gmessages.c(622) : error C4047: 'function' : 'int ' differs in levels of
indirection from 'struct _iobuf *'
gmessages.c(622) : warning C4024: 'g_log_write_prefix' : different types
for formal and actual parameter 1
gmessages.c(644) : error C4047: 'function' : 'int ' differs in levels of
indirection from 'struct _iobuf *'
gmessages.c(644) : warning C4024: 'g_log_write_prefix' : different types
for formal and actual parameter 1
gmessages.c(672) : error C4047: 'function' : 'int ' differs in levels of
indirection from 'struct _iobuf *'
gmessages.c(672) : warning C4024: 'g_log_write_prefix' : different types
for formal and actual parameter 1
gmessages.c(700) : error C4047: 'function' : 'int ' differs in levels of
indirection from 'struct _iobuf *'
gmessages.c(700) : warning C4024: 'g_log_write_prefix' : different types
for formal and actual parameter 1
gmessages.c(720) : error C4047: 'function' : 'int ' differs in levels of
indirection from 'struct _iobuf *'
gmessages.c(720) : warning C4024: 'g_log_write_prefix' : different types
for formal and actual parameter 1
gmessages.c(740) : error C4047: 'function' : 'int ' differs in levels of
indirection from 'struct _iobuf *'
gmessages.c(740) : warning C4024: 'g_log_write_prefix' : different types
for formal and actual parameter 1
gmessages.c(763) : error C4047: 'function' : 'int ' differs in levels of
indirection from 'struct _iobuf *'
gmessages.c(763) : warning C4024: 'g_log_write_prefix' : different types
for formal and actual parameter 1
gmessages.c(1038) : warning C4018: '>' : signed/unsigned mismatch
gmessages.c(1047) : warning C4018: '>' : signed/unsigned mismatch

-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to 
get along without it.                -- Dilbert




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