Skip to content

Fixed compilation error #120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

malaterre
Copy link
Contributor

dcmtk/dcmdata/include/dcmtk/dcmdata/libi2d/i2d.h:37:24: error: ‘class Image2Dcm’ has virtual functions and accessible non-virtual destructor [-Werror=non-virtual-dtor]
37 | class DCMTK_I2D_EXPORT Image2Dcm
| ^~~~~~~~~

dcmtk/dcmdata/include/dcmtk/dcmdata/libi2d/i2d.h:37:24: error: ‘class Image2Dcm’ has virtual functions and accessible non-virtual destructor [-Werror=non-virtual-dtor]
   37 | class DCMTK_I2D_EXPORT Image2Dcm
      |                        ^~~~~~~~~
@michaelonken
Copy link
Member

Thanks Mathieu, closed with a96783a (visible on public master within the next few days).

michaelonken added a commit that referenced this pull request Jun 16, 2025
Classes with virtual functions must have their destructor also made
virtual.

Thanks to Mathieu Malaterre <[email protected]> for the pull
request.

This closes GitHub pull request #120.
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.

2 participants