Skip to content

Conversation

lemire
Copy link
Member

@lemire lemire commented Oct 22, 2023

As per the C++ specification, there is nothing preventing us from declaring a pure virtual function 'inline'. Nevertheless, some compilers, by static analysis, flags this with a warning. Furthermore, some people turn warnings into errors. And so you go from code that is legal, down to an error.

Note that there probably is no sense in this library to have the virtual function inline, so I am not defending the code as it appeared. It just seems that it was harmless as is.

Fixes #544

@anonrig anonrig merged commit 22f5226 into main Oct 22, 2023
@anonrig anonrig deleted the issue544 branch October 22, 2023 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build fails on Node.js
2 participants