codex-storage / nim-codex

Decentralized Durability Engine
Apache License 2.0
62 stars 23 forks source link

[BUG] - Compile Codex with GCC 14 #875

Open veaceslavdoina opened 1 month ago

veaceslavdoina commented 1 month ago

Describe the bug Codex currently can't be compiled with GCC 14, which was released on Tue May 7 10:31:35 GMT 2024.

Based on the numbering scheme, this is a first v 14 public release, 14.0 was used in the development process.

To Reproduce

  1. Follow Building Codex guide
  2. Install GCC 14
  3. Run make update - ✅
  4. Run make - ❌

Expected behavior We should be able to compile Codex with GCC 14 and older versions as well.

Environment:

Additional context

Work in progress - nim-codex/.gitmodules

benbierens commented 1 month ago

I think nim-datastore is working. PR: https://github.com/codex-storage/nim-datastore/pull/69

veaceslavdoina commented 4 weeks ago

Latest GCC version (14.1) breaks Nim's C backend