News for hackers. Stuff that matters.
Re:Show HN: Buckaroo – A decentralized C++ package manager by ghthor on Friday February 01, 2019 @05:14PM (#19059269)
I'd imagine a compiler error that static values, aka globals, must not differ at compile time. This would likely apply to consts as well.
Re:Show HN: Buckaroo – A decentralized C++ package manager by c-smile on Friday February 01, 2019 @05:30PM (#19059397)
"must not differ at compile time"

not so, static declaration are local for the compilation unit so you may have as many different foo's as files you have in your project.