schorg opened a new issue, #567:
URL: https://github.com/apache/celix/issues/567

   The dependency to Jansson is missing:
   ```
   CMake Error at 
/opt/homebrew/Cellar/cmake/3.26.4/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230
 (message):
     Could NOT find jansson (missing: JANSSON_LIBRARY JANSSON_INCLUDE_DIR)
   ```
   
   Compiling with clang refuses to compile old-style parameter declarations in 
C functions defined in `bundles/deployment_admin/src/` `ioapi.c` and 
`minuiunz.c` :
   ```
   
/Users/GFR2FR/Projects/schorg/celix/bundles/deployment_admin/src/ioapi.c:212:6: 
error: a function declaration without a prototype is deprecated in all versions 
of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
   void fill_fopen_filefunc (pzlib_filefunc_def)
        ^
   1 error generated.
   ```
   
   ```
   
/Users/GFR2FR/Projects/schorg/celix/bundles/deployment_admin/src/miniunz.c:94:6:
 error: a function declaration without a prototype is deprecated in all 
versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
   void change_file_date(filename,dosdate,tmu_date)
        ^
   
/Users/GFR2FR/Projects/schorg/celix/bundles/deployment_admin/src/miniunz.c:135:5:
 error: a function declaration without a prototype is deprecated in all 
versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
   int mymkdir(dirname)
       ^
   
/Users/GFR2FR/Projects/schorg/celix/bundles/deployment_admin/src/miniunz.c:149:5:
 error: a function declaration without a prototype is deprecated in all 
versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
   int makedir (newdir)
       ^
   ```
   I will do a pull-request to correct these errors.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to