Opened 5 years ago
Closed 3 years ago
#59874 closed defect (fixed)
rocksdb @5.14.3: error: declaration shadows a variable in namespace 'rocksdb'
Reported by: | chazapis (Antony Chazapis) | Owned by: | stromnov (Andrey Stromnov) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | ||
Port: | rocksdb |
Description
Build fails on macOS 10.15.1. Log attached.
Looks like the latest compiler version has some stricter default rules. A proposed solution is described here: https://github.com/libra/libra/issues/168#issuecomment-515814834. I quote: "...you can add a -Wno-error=shadow flag in rocksdb makefile to avoid this problem...".
Attachments (1)
Change History (5)
Changed 5 years ago by chazapis (Antony Chazapis)
comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to stromnov |
---|---|
Status: | new → assigned |
Summary: | rocksdb @5.14.3 Build failure → rocksdb @5.14.3: error: declaration shadows a variable in namespace 'rocksdb' |
comment:2 Changed 3 years ago by neverpanic (Clemens Lang)
comment:3 Changed 3 years ago by neverpanic (Clemens Lang)
comment:4 Changed 3 years ago by neverpanic (Clemens Lang)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Should be fixed in https://github.com/facebook/rocksdb/commit/adbc25a4c8cfb7ddebc7de017c89de64526e777b.