# Help with TBB "warning: definition of implicit copy ctor"

**URL:** https://discourse.vtk.org/t/help-with-tbb-warning-definition-of-implicit-copy-ctor/4738
**Category:** Development
**Created:** [November 26, 2020, 2:15pm UTC](https://discourse.vtk.org/t/help-with-tbb-warning-definition-of-implicit-copy-ctor/4738 "2020-11-26T14:15:08Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![seanm](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/s/a88e4f/32.png) [@seanm](https://discourse.vtk.org/u/seanm)
#### Post date: [November 26, 2020, 2:15pm UTC](https://discourse.vtk.org/t/help-with-tbb-warning-definition-of-implicit-copy-ctor/4738/1 "2020-11-26T14:15:08Z")

</div>

Hi all,

Could one of you C++ wizards help with some TBB-related clang warnings on cdash:

[https://open.cdash.org/viewBuildError.php?type=1&buildid=6899833](https://open.cdash.org/viewBuildError.php?type=1&buildid=6899833)

```auto
Common/Core/vtkSMPToolsInternal.h:43:8: warning: definition of implicit copy constructor for 'FuncCall<vtk::detail::smp::vtkSMPTools_FunctorInternal<(anonymous namespace)::threadedCopyFunctor<char>, false> >' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated]
  void operator=(const FuncCall&) = delete;
       ^

```

I tried a few things, but alas it’s beyond my C++ skill level.

Thanks,

Sean

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [March 22, 2021, 4:49am UTC](https://discourse.vtk.org/t/help-with-tbb-warning-definition-of-implicit-copy-ctor/4738/2 "2021-03-22T04:49:06Z")

</div>

Is this still happening?

---

<div class="post-metadata">

### Author: ![seanm](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/s/a88e4f/32.png) [@seanm](https://discourse.vtk.org/u/seanm)
#### Post date: [March 22, 2021, 9:08pm UTC](https://discourse.vtk.org/t/help-with-tbb-warning-definition-of-implicit-copy-ctor/4738/3 "2021-03-22T21:08:00Z")

</div>

Seems not.

---

<div class="post-metadata">

### Author: ![will.schroeder](https://discourse.vtk.org/user_avatar/discourse.vtk.org/will.schroeder/32/233_2.png) [@will.schroeder](https://discourse.vtk.org/u/will.schroeder)
#### Post date: [March 23, 2021, 10:42am UTC](https://discourse.vtk.org/t/help-with-tbb-warning-definition-of-implicit-copy-ctor/4738/4 "2021-03-23T10:42:47Z")

</div>

There is a pending MR that may address this…  
[https://gitlab.kitware.com/vtk/vtk/-/merge\_requests/7765](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/7765)

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [March 23, 2021, 2:37pm UTC](https://discourse.vtk.org/t/help-with-tbb-warning-definition-of-implicit-copy-ctor/4738/5 "2021-03-23T14:37:33Z")

</div>

AFAIK, the issue hasn’t show up again either. No idea what fixed it.
