node-rdkafka icon indicating copy to clipboard operation
node-rdkafka copied to clipboard

node-rdkafka compile in centos 7 failed for not supporting c++14

Open yunnysunny opened this issue 2 years ago • 5 comments

The -std=c++14 flag is not supported on GCC 4.8, which is the version used by centos 7. In other words, the compile will be failed in centos 7. See more on this link https://stackoverflow.com/questions/31965413/compile-c14-code-with-g .

Originally posted by @yunnysunny in https://github.com/Blizzard/node-rdkafka/issues/892#issuecomment-942918410

yunnysunny avatar Oct 14 '21 07:10 yunnysunny

GCC 4.8 is an ancient release. It would make more sense to use newer GCC instead of spending time on fixing the library.

iradul avatar Oct 31 '21 23:10 iradul

I think this is a breaking change, and we need to mention it as a requirement in our readme document.

yunnysunny avatar Nov 01 '21 03:11 yunnysunny

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] avatar Mar 02 '22 10:03 stale[bot]

Hi, Is there a way to get node-rdkafka working on centos 7 without upgrading g++?

sunniepuri avatar Mar 29 '22 11:03 sunniepuri

Hi, Is there a way to get node-rdkafka working on centos 7 without upgrading g++?

No

yunnysunny avatar Mar 29 '22 11:03 yunnysunny