Hello, Manuel,

With bigloo4.3a-beta17Nov16, I noted the warnings similar to the following when 
compiling some of my code.

recette/stretchy-vector-test.c:12981:1: warning: implicit declaration of 
function ‘make_vector’    [-Wimplicit-function-declaration]
make_vector(BgL_intz00_1753, BUNSPEC); }
^~~~~~~~~~~
recette/stretchy-vector-test.c:12980:21: warning: assignment makes pointer from 
integer without a cast [-Wint-conversion]
BgL_res1928z00_1752 =


This appears to be due to missing declarations in bigloo_vector.h. I added 
declarations for all of the functions in cvector.c defined with BGL_RUNTIME_DEF 
and the warnings disappeared. These are the declarations I currently have in 
bigloo_vector.h for the functions defined in cvector.c.


/*---------------------------------------------------------------------*/
/*    extern                                                           */
/*---------------------------------------------------------------------*/
BGL_RUNTIME_DECL obj_t create_vector( int );
BGL_RUNTIME_DECL obj_t create_vector_uncollectable( int len );
BGL_RUNTIME_DECL obj_t bgl_saw_vector_copy( obj_t );
BGL_RUNTIME_DECL obj_t make_vector( int len, obj_t init );
BGL_RUNTIME_DECL obj_t make_vector_uncollectable( int len, obj_t init );
BGL_RUNTIME_DECL obj_t bgl_fill_vector( obj_t bvector, long start, long end, 
obj_t init );
BGL_RUNTIME_DECL obj_t fill_vector( obj_t bvector, long len, obj_t init );



Thanks,
Joseph Donaldson

Reply via email to