[Gambas-user] Pre-release of Gambas 3.6 (2)

Ian Haywood ihaywood3 at ...626...
Tue Oct 14 05:56:50 CEST 2014


compiles but lots of warnings on Debian testing

make[4]: Entering directory
'/home/ian/Downloads/gambas3-3.6.0/gb.desktop.gnome.keyring/src'
  CC       gb_desktop_gnome_keyring_la-main.lo
  CC       gb_desktop_gnome_keyring_la-keyring.lo
keyring.c: In function 'get_password':
keyring.c:50:5: warning: 'gnome_keyring_attribute_list_append_string'
is deprecated (declared at
/usr/include/gnome-keyring-1/gnome-keyring.h:145): Use
'g_hash_table_replace' instead [-Wdeprecated-declarations]
     gnome_keyring_attribute_list_append_string(attributes,
     ^
keyring.c:53:5: warning: 'gnome_keyring_attribute_list_append_string'
is deprecated (declared at
/usr/include/gnome-keyring-1/gnome-keyring.h:145): Use
'g_hash_table_replace' instead [-Wdeprecated-declarations]
     gnome_keyring_attribute_list_append_string(attributes,
     ^
keyring.c:57:5: warning: 'gnome_keyring_find_items_sync' is deprecated
(declared at /usr/include/gnome-keyring-1/gnome-keyring.h:321): Use
'secret_service_search_sync' instead [-Wdeprecated-declarations]
     result = gnome_keyring_find_items_sync(GNOME_KEYRING_ITEM_GENERIC_SECRET,
     ^
keyring.c:60:5: warning: 'gnome_keyring_attribute_list_free' is
deprecated (declared at
/usr/include/gnome-keyring-1/gnome-keyring.h:155): Use
'g_hash_table_unref' instead [-Wdeprecated-declarations]
     gnome_keyring_attribute_list_free(attributes);
     ^
keyring.c:74:5: warning: 'gnome_keyring_found_list_free' is deprecated
(declared at /usr/include/gnome-keyring-1/gnome-keyring.h:174)
[-Wdeprecated-declarations]
     gnome_keyring_found_list_free(found_list);
     ^
keyring.c: In function 'set_password':
keyring.c:87:5: warning: 'gnome_keyring_attribute_list_append_string'
is deprecated (declared at
/usr/include/gnome-keyring-1/gnome-keyring.h:145): Use
'g_hash_table_replace' instead [-Wdeprecated-declarations]
     gnome_keyring_attribute_list_append_string(attributes,
     ^
keyring.c:90:5: warning: 'gnome_keyring_attribute_list_append_string'
is deprecated (declared at
/usr/include/gnome-keyring-1/gnome-keyring.h:145): Use
'g_hash_table_replace' instead [-Wdeprecated-declarations]
     gnome_keyring_attribute_list_append_string(attributes,
     ^
keyring.c:94:5: warning: 'gnome_keyring_item_create_sync' is
deprecated (declared at
/usr/include/gnome-keyring-1/gnome-keyring.h:340): Use
'secret_item_create_sync' instead [-Wdeprecated-declarations]
     result = gnome_keyring_item_create_sync(NULL,
     ^
keyring.c:101:5: warning: 'gnome_keyring_attribute_list_free' is
deprecated (declared at
/usr/include/gnome-keyring-1/gnome-keyring.h:155): Use
'g_hash_table_unref' instead [-Wdeprecated-declarations]
     gnome_keyring_attribute_list_free(attributes);
     ^
  CCLD     gb.desktop.gnome.keyring.la


make[4]: Entering directory '/home/ian/Downloads/gambas3-3.6.0/gb.jit/src'
  CXX      gb_jit_la-jit_api.lo
  CXX      gb_jit_la-jit_codegen.lo
jit_codegen.cpp: In function 'llvm::Value* extract_value(llvm::Value*, int)':
jit_codegen.cpp:362:29: warning: narrowing conversion of 'index' from
'int' to 'unsigned int' inside { } [-Wnarrowing]
  unsigned int arr[] = {index};
                             ^
jit_codegen.cpp: In function 'llvm::Value* insert_value(llvm::Value*,
llvm::Value*, int)':
jit_codegen.cpp:367:29: warning: narrowing conversion of 'index' from
'int' to 'unsigned int' inside { } [-Wnarrowing]
  unsigned int arr[] = {index};
                             ^
jit_codegen.cpp: In function 'void
func_extern_call_variant_vararg(void*, void*, int, TYPE)':
jit_codegen.cpp:6655:33: warning: dereferencing type-punned pointer
will break strict-aliasing rules [-Wstrict-aliasing]
  *(TYPE*)&signature_string[nargs] = return_type;
                                 ^
jit_codegen.cpp:6705:44: warning: array subscript has type 'char'
[-Wchar-subscripts]
    ft[i] = extern_types[signature_string[i]];
                                            ^
In file included from jit_codegen.cpp:5060:0:
jit_codegen_conv.h: In function 'llvm::Value*
JIT_conv_to_variant(Expression*, llvm::Value*, bool, bool*)':
jit_codegen_conv.h:93:36: warning: 'data' may be used uninitialized in
this function [-Wmaybe-uninitialized]
    ret = insert_value(ret, data, 1);
                                    ^
jit_codegen.cpp: In member function 'virtual llvm::Value*
EqExpression::codegen_get_value()':
jit_codegen.cpp:3894:29: warning: 'ret' may be used uninitialized in
this function [-Wmaybe-uninitialized]
   push_value(ret, T_BOOLEAN);
                             ^
jit_codegen.cpp: In member function 'virtual llvm::Value*
NotExpression::codegen_get_value()':
jit_codegen.cpp:3929:30: warning: 'ret' may be used uninitialized in
this function [-Wmaybe-uninitialized]
    push_value(ret, T_BOOLEAN);
                              ^
jit_codegen.cpp: In member function 'virtual llvm::Value*
LessExpression::codegen_get_value()':
jit_codegen.cpp:4001:30: warning: 'ret' may be used uninitialized in
this function [-Wmaybe-uninitialized]
    push_value(ret, T_BOOLEAN);
                              ^
jit_codegen.cpp: In member function 'virtual llvm::Value*
CallExpression::codegen_get_value()':
jit_codegen.cpp:2889:80: warning: 'call_addr' may be used
uninitialized in this function [-Wmaybe-uninitialized]
     call_function = builder->CreateBitCast(call_addr,
pointer_t(function_type));

         ^
jit_codegen.cpp: In member function 'virtual void
CallExpression::codegen_on_stack()':
jit_codegen.cpp:3042:127: warning: 'object' may be used uninitialized
in this function [-Wmaybe-uninitialized]
       builder->CreateCall3(get_global_function(JR_exec_enter, 'v',
"ppi"), fe->effective_class, object, getInteger(32, index));

                                                        ^
jit_codegen.cpp: In member function 'virtual llvm::Value*
SubrExpression::codegen_get_value()':
jit_codegen.cpp:6344:31: warning: 'ret' may be used uninitialized in
this function [-Wmaybe-uninitialized]
     push_value(ret, T_POINTER);
                               ^
jit_codegen.cpp:5969:64: warning: 'res' may be used uninitialized in
this function [-Wmaybe-uninitialized]
      set_top_value(res, type, extra == 3 || !args[0]->on_stack);
                                                                ^
jit_codegen.cpp:5900:94: warning: 'res' may be used uninitialized in
this function [-Wmaybe-uninitialized]
    builder->CreateCondBr(builder->CreateAnd(still_inside_string,
res), body_block, cont_block);

                       ^
jit_codegen.cpp:682:2: warning: 'ret' may be used uninitialized in
this function [-Wmaybe-uninitialized]
  phi->addIncoming(ret2, else_block2);
  ^
jit_codegen.cpp:5689:17: note: 'ret' was declared here
    llvm::Value* ret;
                 ^
jit_codegen.cpp:5635:64: warning: 'ret' may be used uninitialized in
this function [-Wmaybe-uninitialized]
      set_top_value(ret, type, args[0]->on_stack ? false : true);
                                                                ^
jit_codegen.cpp:5612:101: warning: 'max' may be used uninitialized in
this function [-Wmaybe-uninitialized]
    llvm::Value* ret = builder->CreateFAdd(builder->CreateFMul(r,
builder->CreateFSub(max, min)), min);

                              ^
jit_codegen.cpp:5612:101: warning: 'min' may be used uninitialized in
this function [-Wmaybe-uninitialized]
jit_codegen.cpp: At global scope:
jit_codegen.cpp:337:21: warning: 'llvm::Value*
get_new_struct(llvm::StructType*, llvm::Value*, llvm::Value*,
llvm::Value*)' defined but not used [-Wunused-function]
 static llvm::Value* get_new_struct(llvm::StructType* st, llvm::Value*
v1, llvm::Value* v2, llvm::Value* v3){
                     ^
jit_codegen.cpp:1030:13: warning: 'void codegen_printf(const char*,
int)' defined but not used [-Wunused-function]
 static void codegen_printf(const char* str1, int tal){
             ^
jit_codegen.cpp:1034:13: warning: 'void codegen_printf(const char*)'
defined but not used [-Wunused-function]
 static void codegen_printf(const char* str1){
             ^
jit_codegen.cpp:1038:13: warning: 'void codegen_printf(const char*,
llvm::Value*)' defined but not used [-Wunused-function]
 static void codegen_printf(const char* str1, llvm::Value* intval){
             ^
jit_codegen.cpp:1117:13: warning: 'void borrow_top(TYPE)' defined but
not used [-Wunused-function]
 static void borrow_top(TYPE type){
             ^
jit_codegen.cpp:1121:13: warning: 'void release_top(Expression*)'
defined but not used [-Wunused-function]
 static void release_top(Expression* expr){
             ^
jit_codegen.cpp:1135:13: warning: 'void release_val(Expression*)'
defined but not used [-Wunused-function]
 static void release_val(Expression* expr){
             ^
jit_codegen.cpp:6980:13: warning: 'void
JIT_cleanup(llvm::ExecutionEngine**, int)' defined but not used
[-Wunused-function]
 static void JIT_cleanup(llvm::ExecutionEngine** EE, int n_func){
             ^

On Tue, Oct 14, 2014 at 3:43 AM, Benoît Minisini
<gambas at ...1...> wrote:
> Hi,
>
> I have uploaded a new pre-release source package of Gambas 3.6 at:
>
> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download
>
> I have fixed the following problems:
>
> - Some source files were missing.
>
> - ImageStat() does not crash anymore.
>
> - Support for LLVM_CONFIG environmental variable is fixed.
>
> - LLVM directories should be correctly detected in all cases now.
>
> - The IDE editor message tooltip should be readable with dark themes.
>
> - The version number of all examples and components has been updated.
>
> Please test it and report if you find new problems!
>
> Regards,
>
> --
> Benoît Minisini
>
> ------------------------------------------------------------------------------
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
> http://p.sf.net/sfu/Zoho
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user




More information about the User mailing list