glideapps / glideapps/quicktype

C++ gen cause clang warning

Open
#1,440 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
13.9k
Forks
1.2k
Avg merge
8h 53m
Merged PRs (30d)
369

Description

when compiling with clang, all generated classes generate the "weak table" warning

_as no out-of-line virtual method definitions; its vtable will be emitted in every translation unit [-Wweak-vtables]_

I don't find a working around, but perhaps someone can :)

thanks for that great project

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.