Blizzard / Blizzard/node-rdkafka

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

Open
#917 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.2k
Forks
403
PR merge metrics
No merged PRs in 30d

Description

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_

Contributor guide

Open the contributing guide

Research direction

The issue identifies the `-std=c++14` flag and CentOS 7's GCC 4.8 as the failing build context, but names no files or tests. Start by locating where node-rdkafka sets that compiler flag and reproduce the CentOS 7 build; done means the package compiles successfully with the stated toolchain.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, nodejs
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.