Skip to content

Fix error with GCC 6.1. Fixed warnings and Serialize test #2876

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

Merged
merged 2 commits into from
May 6, 2020

Conversation

umar456
Copy link
Member

@umar456 umar456 commented May 6, 2020

  • the default implementation of the AfError move constructor was not marked noexcept but our definition included the noexcept specification. This caused an error in GCC 6.1. I worked around this by defining the Move constructor.
  • Made a couple of tests serial which used mulitple cores
  • Fixed an overflow warning.

Fixes #2874

@umar456 umar456 added the build label May 6, 2020
@umar456 umar456 added this to the 3.7.2 milestone May 6, 2020
@9prady9 9prady9 merged commit 9d4cec2 into arrayfire:master May 6, 2020
@umar456 umar456 deleted the gcc61_error branch June 26, 2020 18:37
@umar456 umar456 mentioned this pull request Jun 27, 2020
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compilation failure with gcc 6
2 participants