You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "JesseStimpson (via GitHub)" <gi...@apache.org> on 2023/10/12 18:39:29 UTC

[PR] Fix C prototype declaration to match implementation [couchdb-erlfdb]

JesseStimpson opened a new pull request, #53:
URL: https://github.com/apache/couchdb-erlfdb/pull/53

   This PR resolves a compile error on my system when building erlfdb. The error is:
   
   ```
   c_src/atoms.h:25: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 erlfdb_init_atoms();
        ^
                          void
   /Users/jstimpson/dev/erlang/ibot/c_src/atoms.c:23:1: error: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
   erlfdb_init_atoms(ErlNifEnv* env)
   ^
   2 errors generated.
   ```
   
   I have the following local version of clang, and haven't specified any env flags. 
   ```
   Apple clang version 14.0.3 (clang-1403.0.22.14.1)
   Target: arm64-apple-darwin22.4.0
   Thread model: posix
   InstalledDir: /Library/Developer/CommandLineTools/usr/bin
   ```
   
   Thanks for taking a look!


-- 
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: notifications-unsubscribe@couchdb.apache.org

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


Re: [PR] Fix C prototype declaration to match implementation [couchdb-erlfdb]

Posted by "JesseStimpson (via GitHub)" <gi...@apache.org>.
JesseStimpson commented on PR #53:
URL: https://github.com/apache/couchdb-erlfdb/pull/53#issuecomment-1760246543

   @big-r81 sure thing, since this one got merged already, I went ahead and created #54. Thanks


-- 
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: notifications-unsubscribe@couchdb.apache.org

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


Re: [PR] Fix C prototype declaration to match implementation [couchdb-erlfdb]

Posted by "nickva (via GitHub)" <gi...@apache.org>.
nickva merged PR #53:
URL: https://github.com/apache/couchdb-erlfdb/pull/53


-- 
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: notifications-unsubscribe@couchdb.apache.org

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