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

Warning in itkPNGImageIO: passing argument aliases -Wrestrict #57

Closed
phcerdan opened this Issue Aug 31, 2018 · 0 comments

Comments

Projects
None yet
3 participants
@phcerdan
Contributor

phcerdan commented Aug 31, 2018

Description

Warning -Wrestrict in itkPNGImageIO compiling with gcc 8.2

Steps to Reproduce

build master with tests enabled

Actual behavior

/home/user/Software/ITK/src-ITK-master/Modules/IO/PNG/src/itkPNGImageIO.cxx: In member function ‘void itk::PNGImageIO::WriteSlice(const string&, const void*)’:
/home/user/Software/ITK/src-ITK-master/Modules/IO/PNG/src/itkPNGImageIO.cxx:592:20: warning: passing argument 1 to restrict-qualified parameter aliases with argument 2 [-Wrestrict]
   png_set_error_fn(png_ptr, png_ptr,

Reproducibility

Every time

Versions

master

Environment

Linux, gcc 8.2.1

@thewtex thewtex added the Warning label Aug 31, 2018

@jhlegarreta jhlegarreta added type:Compiler and removed Warning labels Sep 10, 2018

@phcerdan phcerdan closed this Oct 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment