An open API service indexing awesome lists of open source software.

https://github.com/learnforpractice/cxxflags-example


https://github.com/learnforpractice/cxxflags-example

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

Example show why cxxflags is necessary.

Define `-std=c++17` in cxxflags, no complain from tinygo

```bash
tinygo build -target=./good.json -o test.wasm .
```

Define `-std=c++17` in cflags, show `error: invalid argument '-std=c++17' not allowed with 'C'` error

```bash
tinygo build -target=./bad.json -o test.wasm .
```