-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
I am trying to publish a R drivers based on mongoc-driver, however the repository maintainers told me I need to take care of these warnings to be ISO C compliant:
Unable to find source-code formatter for language: gcc. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
* checking whether package ‘mongolite’ can be installed ... WARNING
Found the following significant warnings:
bson/bson-macros.h:103:26: warning: ISO C forbids braced-groups within expressions [-Wpedantic]
bson/bson-macros.h:86:26: warning: ISO C forbids braced-groups within expressions [-Wpedantic]
mongoc/mongoc-stream-tls.c:572:47: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]