formulahendry / formulahendry/vscode-code-runner

cann't compile c++11 code

Open
#640 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

- VS Code Version:1.46.0
- OS Version:Mac OS 10.15.4
- Code Runner Version:0.10.0

**Describe the bug**
Cann't compile the following c++11 code
`
#include
#include

int main () {
std::unordered_map mymap;
mymap = {{"Australia","Canberra"},{"U.S.","Washington"},{"France","Paris"}};
}
`
Description of what the bug is.
when compile c++11 code ,it should add -std=c++11 compile flag

**To Reproduce**
Steps to reproduce the behavior:

1. write c++11 code
2. compile it

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.