You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Alexander Shorin (JIRA)" <ji...@apache.org> on 2015/02/19 19:39:11 UTC
[jira] [Updated] (COUCHDB-2588) dereferencing type-punned pointer
will break strict-aliasing rule
[ https://issues.apache.org/jira/browse/COUCHDB-2588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Shorin updated COUCHDB-2588:
--------------------------------------
Priority: Blocker (was: Major)
> dereferencing type-punned pointer will break strict-aliasing rule
> -----------------------------------------------------------------
>
> Key: COUCHDB-2588
> URL: https://issues.apache.org/jira/browse/COUCHDB-2588
> Project: CouchDB
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Database Core
> Affects Versions: 2.0.0
> Reporter: Alexander Shorin
> Priority: Blocker
>
> Happens on FreeBSD:
> {code}
> # gcc -v
> Using built-in specs.
> Target: i386-undermydesk-freebsd
> Configured with: FreeBSD/i386 system compiler
> Thread model: posix
> gcc version 4.2.1 20070831 patched [FreeBSD]
> ==> b64url (compile)
> Compiled src/b64url.erl
> Compiling /root/couchdb/src/b64url/c_src/b64url.c
> cc1: warnings being treated as errors
> /root/couchdb/src/b64url/c_src/b64url.c: In function 'b64url_encode_cont':
> /root/couchdb/src/b64url/c_src/b64url.c:424: warning: dereferencing type-punned pointer will break strict-aliasing rules
> /root/couchdb/src/b64url/c_src/b64url.c: In function 'b64url_decode_cont':
> /root/couchdb/src/b64url/c_src/b64url.c:579: warning: dereferencing type-punned pointer will break strict-aliasing rules
> ERROR: compile failed while processing /root/couchdb/src/b64url: rebar_abort
> *** [couch] Error code 1
> ==> khash (compile)
> Compiled src/khash.erl
> Compiling c_src/hash.c
> Compiling /root/couchdb/src/khash/c_src/khash.c
> cc1: warnings being treated as errors
> /root/couchdb/src/khash/c_src/khash.c: In function 'khash_to_list':
> /root/couchdb/src/khash/c_src/khash.c:232: warning: dereferencing type-punned pointer will break strict-aliasing rules
> /root/couchdb/src/khash/c_src/khash.c: In function 'khash_clear':
> /root/couchdb/src/khash/c_src/khash.c:264: warning: dereferencing type-punned pointer will break strict-aliasing rules
> /root/couchdb/src/khash/c_src/khash.c: In function 'khash_lookup':
> /root/couchdb/src/khash/c_src/khash.c:303: warning: dereferencing type-punned pointer will break strict-aliasing rules
> /root/couchdb/src/khash/c_src/khash.c: In function 'khash_get':
> /root/couchdb/src/khash/c_src/khash.c:337: warning: dereferencing type-punned pointer will break strict-aliasing rules
> /root/couchdb/src/khash/c_src/khash.c: In function 'khash_put':
> /root/couchdb/src/khash/c_src/khash.c:369: warning: dereferencing type-punned pointer will break strict-aliasing rules
> /root/couchdb/src/khash/c_src/khash.c: In function 'khash_del':
> /root/couchdb/src/khash/c_src/khash.c:409: warning: dereferencing type-punned pointer will break strict-aliasing rules
> /root/couchdb/src/khash/c_src/khash.c: In function 'khash_size':
> /root/couchdb/src/khash/c_src/khash.c:441: warning: dereferencing type-punned pointer will break strict-aliasing rules
> /root/couchdb/src/khash/c_src/khash.c: In function 'khash_iter':
> /root/couchdb/src/khash/c_src/khash.c:465: warning: dereferencing type-punned pointer will break strict-aliasing rules
> /root/couchdb/src/khash/c_src/khash.c: In function 'khash_iter_next':
> /root/couchdb/src/khash/c_src/khash.c:514: warning: dereferencing type-punned pointer will break strict-aliasing rules
> ERROR: compile failed while processing /root/couchdb/src/khash: rebar_abort
> *** [couch] Error code 1
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)