Opened 6 years ago
Closed 6 months ago
#62192 closed defect (fixed)
clucene @2.3.3.4_2: error: constant expression evaluates to 18446744073709551615 which cannot be narrowed to type 'int64_t' (aka 'long long') [-Wc++11-narrowing]
| Reported by: | kencu (Ken) | Owned by: | dinh.viet.hoa@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | lterrill, gsdali | |
| Port: | clucene |
Description
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_clucene/clucene/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryParserTokenManager.cpp:18:65: error: constant expression evaluates to 18446744073709551615 which cannot be narrowed to type 'int64_t' (aka 'long long') [-Wc++11-narrowing]
:info:build const int64_t QueryParserTokenManager::jjbitVec2[]={0x0L, 0x0L, _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff)};
:info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_clucene/clucene/work/clucene-core-2.3.3.4/src/shared/CLucene/_clucene-config.h:57:23: note: expanded from macro '_ILONGLONG'
:info:build #define _ILONGLONG(x) x ## LL
:info:build ^~~~~~~
:info:build <scratch space>:140:1: note: expanded from here
:info:build 0xffffffffffffffffLL
succeeds with clang-5.0
Attachments (1)
Change History (4)
Changed 6 years ago by kencu (Ken)
| Attachment: | clucene-fail-snowleopard.log added |
|---|
comment:1 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)
| Cc: | lterrill added |
|---|---|
| Summary: | clucene @2.3.3.4_2: build fails with clang-9.0: error: constant expression evaluates to 18446744073709551615 which cannot be narrowed to type 'int64_t' → clucene @2.3.3.4_2: error: constant expression evaluates to 18446744073709551615 which cannot be narrowed to type 'int64_t' |
comment:2 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)
| Cc: | gsdali added |
|---|---|
| Summary: | clucene @2.3.3.4_2: error: constant expression evaluates to 18446744073709551615 which cannot be narrowed to type 'int64_t' → clucene @2.3.3.4_2: error: constant expression evaluates to 18446744073709551615 which cannot be narrowed to type 'int64_t' (aka 'long long') [-Wc++11-narrowing] |
Has duplicate #73087.
comment:3 Changed 6 months ago by OpenSauce04 (OpenSauce)
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.

Has duplicate #73025.