Fix error with GCC 6.1. Fixed warnings and Serialize test by umar456 · Pull Request #2876 · arrayfire/arrayfire · GitHub
Skip to content

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

Merged
9prady9 merged 2 commits intoarrayfire:masterfrom
umar456:gcc61_error
May 6, 2020
Merged

Fix error with GCC 6.1. Fixed warnings and Serialize test#2876
9prady9 merged 2 commits intoarrayfire:masterfrom
umar456:gcc61_error

Conversation

@umar456
Copy link
Copy Markdown
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