There are a few warnings when compiling on x86_64, some because of the
 changes I've made, but some possible real problems:

I commented out the special case (no CFLAGS for the utf8_convert.yy.c). That
causes this:
Compiling libmapi/utf8_convert.yy.c
libmapi/utf8_convert.l: In function ‘yylex’:
libmapi/utf8_convert.l:232: warning: implicit declaration of function
‘yyreplace_utf8’
<stdout>: At top level:
<stdout>:2236: warning: no previous prototype for ‘yyget_lineno’
<stdout>:2245: warning: no previous prototype for ‘yyget_in’
<stdout>:2253: warning: no previous prototype for ‘yyget_out’
<stdout>:2261: warning: no previous prototype for ‘yyget_leng’
<stdout>:2270: warning: no previous prototype for ‘yyget_text’
<stdout>:2279: warning: no previous prototype for ‘yyset_lineno’
<stdout>:2291: warning: no previous prototype for ‘yyset_in’
<stdout>:2296: warning: no previous prototype for ‘yyset_out’
<stdout>:2301: warning: no previous prototype for ‘yyget_debug’
<stdout>:2306: warning: no previous prototype for ‘yyset_debug’
<stdout>:2340: warning: no previous prototype for ‘yylex_destroy’
libmapi/utf8_convert.l:344: warning: no previous prototype for
‘yyreplace_utf8’
libmapi/utf8_convert.l:351: warning: no previous prototype for ‘yyparse_utf8’
libmapi/utf8_convert.l: In function ‘yyparse_utf8’:
libmapi/utf8_convert.l:357: warning: control reaches end of non-void function
libmapi/utf8_convert.l: In function ‘yyreplace_utf8’:
libmapi/utf8_convert.l:347: warning: control reaches end of non-void function
libmapi/utf8_convert.l: At top level:
<stdout>:1744: warning: ‘yyunput’ defined but not used

It might be possible to rework my patch to fix this, but the problem isn't
actually different with my patch, just the level of warnings.

The rest are a bit more concerning, but possibly not real problems:
Compiling libmapi/property.c
libmapi/property.c: In function ‘get_mapi_SPropValue_data’:
libmapi/property.c:221: warning: cast to pointer from integer of different
size

Compiling libmapi/mapi_object.c
libmapi/mapi_object.c: In function ‘mapi_object_debug’:
libmapi/mapi_object.c:106: warning: format ‘%llx’ expects type ‘long long
unsigned int’, but argument 2 has type ‘uint64_t’

Compiling libmapi/mapidump.c
libmapi/mapidump.c: In function ‘mapidump_SPropValue’:
libmapi/mapidump.c:45: warning: format ‘%llx’ expects type ‘long long
 unsigned int’, but argument 4 has type ‘uint64_t’
libmapi/mapidump.c: In function ‘mapidump_newmail’:
libmapi/mapidump.c:540: warning: format ‘%llx’ expects type ‘long long
unsigned int’, but argument 3 has type ‘uint64_t’
libmapi/mapidump.c:542: warning: format ‘%llx’ expects type ‘long long
unsigned int’, but argument 3 has type ‘uint64_t’

Compiling libmapi/emsmdb.c
libmapi/emsmdb.c: In function ‘emsmdb_connect’:
libmapi/emsmdb.c:68: warning: cast from pointer to integer of different size
libmapi/emsmdb.c:69: warning: cast from pointer to integer of different size
libmapi/emsmdb.c:70: warning: cast from pointer to integer of different size

Compiling utils/exchange2mbox.c
utils/exchange2mbox.c: In function ‘update’:
utils/exchange2mbox.c:149: warning: passing argument 2 of ‘getline’ from
incompatible pointer type

Compiling torture/mapi_deletemail.c
torture/mapi_deletemail.c: In function ‘torture_rpc_mapi_deletemail’:
torture/mapi_deletemail.c:117: warning: format ‘%llx’ expects type ‘long long
unsigned int’, but argument 2 has type ‘mapi_id_t’

Compiling torture/mapi_permissions.c
torture/mapi_permissions.c: In function ‘torture_rpc_mapi_permissions’:
torture/mapi_permissions.c:120: warning: cast to pointer from integer of
different size


Attachment: pgpKVvfKlqxuS.pgp
Description: PGP signature

_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to