IntelLabs / pmgd

Persistent Memory Graph Database
MIT License
43 stars 9 forks source link

GCC version issues #11

Closed Ragaad closed 5 years ago

Ragaad commented 6 years ago

The code DO NO compile at GCC version higher than 5.

The issue is in iterator.h, the array _chunk0 is defined as a flexible array, and GCC 6 (and higher) does not allow that. We may need to make _chunk0 into a vector instead.

vishakha041 commented 6 years ago

I have encountered this one and some other related issues. I have a fix on the PM machine that I am testing with. Need to figure out how to push this change across.

vishakha041 commented 5 years ago

Fixed in the bug-fixes merge 684a