bitwizeshift / bitwizeshift/Alloy

Weak v-tables emissions

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Complexity: Trivial Good First Issue Priority: Low Status: Available Type: Bug Report
Dominant language
C++
Stars
12
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### Checklist

- [x] I did not find a duplicate of this bug in the Github Issues section.

----------

### Description
Writing `inline` functions that are also marked `virtual` results in the vtable
being emitted to each translation unit that includes that type.

These definitions should probably be moved to a cpp file instead, at the expense
of the function itself potentially not being inlined.

Certain compilers emit warnings on this from `-Wweak-vtables`

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.