drogonframework / drogonframework/drogon

Can't compile example/jsonstore with gcc 12

Open
#1,253 15 comments 0 reactions 0 assignees View on GitHub
bug macOS
Dominant language
C++
Stars
14.3k
Forks
1.4k
Avg merge
1d 13h
Merged PRs (30d)
14

Description

**Describe the bug**
Compile example/jsonstore with gcc ~~12.0.1~~ 12.1.0 in MacOS
shows error in [lib/inc/drogon/HttpController.h](https://github.com/drogonframework/drogon/blob/e53c81b229efb5e24b0a1b56c39c64c3c1540d76/lib/inc/drogon/HttpController.h#L86)

**To Reproduce**
get the code and gcc 12.0.1 toolchain and compile!

**Expected behavior**
successfully compilied

**Screenshots**
![Cache_61bb9963a6557405](https://user-images.githubusercontent.com/8820178/169345000-aee6acf5-3c60-4613-94f8-6ea73a4d4209.jpg)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.