couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Shorin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COUCHDB-2588) dereferencing type-punned pointer will break strict-aliasing rule
Date Thu, 19 Feb 2015 18:39:11 GMT
Alexander Shorin created COUCHDB-2588:
-----------------------------------------

             Summary: 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
            Reporter: Alexander Shorin


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)

Mime
View raw message