View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0032891 | Open CASCADE | OCCT:Coding | public | 2022-03-29 08:39 | 2024-04-11 19:51 |
Reporter | bugmaster | Assigned To | dpasukhi | ||
Priority | low | Severity | minor | ||
Status | new | Resolution | open | ||
Platform | Linux | OS | Ubuntu 20.04 | ||
Product Version | 7.6.0 | ||||
Target Version | Unscheduled | ||||
Summary | 0032891: Coding Rules - eliminating TBB deprecation warning on Ubuntu 20.04 | ||||
Description | Warnings c++11 [ 1%] [32mBuilding CXX object src/TKernel/CMakeFiles/TKernel.dir/__/OSD/OSD_Timer.cxx.o In file included from /disk1/builds/CR0-WEEK-10/OCCT_SRC/src/OSD/OSD_Parallel_TBB.cxx:29: /usr/include/tbb/task_scheduler_init.h:21:154: : '#pragma message: TBB Warning: tbb/task_scheduler_init.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.' /disk1/builds/CR0-WEEK-10/OCCT_SRC/src/OSD/OSD_Parallel_TBB.cxx: In static member function 'static void OSD_Parallel::forEachExternal(OSD_Parallel::UniversalIterator&, OSD_Parallel::UniversalIterator&, const OSD_Parallel::FunctorInterface&, Standard_Integer)': /disk1/builds/CR0-WEEK-10/OCCT_SRC/src/OSD/OSD_Parallel_TBB.cxx:56:35: warning: 'captured_exception' is deprecated [K-Wdeprecated-declarations] 56 | catch (tbb::captured_exception& KanException) In file included from /usr/include/tbb/task_arena.h:24, from /usr/include/tbb/partitioner.h:52, from /usr/include/tbb/parallel_for.h:25, from /disk1/builds/CR0-WEEK-10/OCCT_SRC/src/OSD/OSD_Parallel_TBB.cxx:25: /usr/include/tbb/tbb_exception.h:191:24: : declared here 191 | class __TBB_DEPRECATED captured_exception : public tbb_exception Warning 1 [ 13%] Building CXX object src/TKBestFit/CMakeFiles/TKBestFit.dir/__/BestFitAlgo/BestFitAlgo_Projector.cxx.o /disk1/builds/CR0-WEEK-10/Products_SRC/src/AcisData/AcisData_AcisModel.cxx: In member function 'void AcisData_AcisModel::ReadStream(Standard_IStream&)': /disk1/builds/CR0-WEEK-10/Products_SRC/src/AcisData/AcisData_AcisModel.cxx:372:21: warning: 'pipeline' is deprecated: tbb::pipeline is deprecated, use tbb::parallel_pipeline [-Wdeprecated-declarations] 372 | tbb::pipeline pl; | ^~ In file included from /disk1/builds/CR0-WEEK-10/Products_SRC/src/AcisData/AcisData_AcisModel.cxx:47: /usr/include/tbb/pipeline.h:235:87: note: declared here 235 | class __TBB_DEPRECATED_MSG("tbb::pipeline is deprecated, use tbb::parallel_pipeline") pipeline { | ^~~~~~~~ | ||||
Tags | No tags attached. | ||||
Test case number | |||||
related to | 0032697 | closed | Community | Configuration - fix compilation errors with oneTBB 2021 | |
related to | 0032851 | new | Community | OCCT algorithms create/destroy a large number of threads when Intel TBB enabled | |
related to | 0033117 | closed | Open CASCADE | Coding, Configuration - migration to intel oneTBB 2021.5.0 (c++20 ready) | |
child of | 0032889 | new | bugmaster | Open CASCADE | Configuration - Ubuntu 20.04 gcc 10 bugs |
child of | 0030573 | closed | apn | Open CASCADE | OSD_Parallel_TBB: limit number of execution threads using settings of OSD_ThreadPool::DefaultPool() |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-03-29 08:39 | bugmaster | New Issue | |
2022-03-29 08:39 | bugmaster | Assigned To | => kgv |
2022-03-29 08:39 | bugmaster | Relationship added | child of 0032889 |
2022-03-29 16:46 | kgv | Relationship added | related to 0032697 |
2022-03-29 16:47 | kgv | Relationship added | child of 0030573 |
2022-03-29 16:48 | kgv | Relationship added | related to 0032851 |
2022-03-29 16:49 | kgv | Note Added: 0107469 | |
2022-03-29 16:50 | kgv | Assigned To | kgv => azv |
2022-03-29 16:50 | kgv | Priority | normal => low |
2022-03-29 16:50 | kgv | Product Version | => 7.6.0 |
2022-03-29 16:50 | kgv | Summary | Coding Rules - eliminating gcc warning on Ubuntu 20.04 => Coding Rules - eliminating TBB deprecation warning on Ubuntu 20.04 |
2022-04-01 20:06 | bugmaster | Description Updated | |
2022-08-31 11:16 | kgv | Relationship added | related to 0033117 |
2022-10-24 10:39 |
|
Target Version | 7.7.0 => 7.8.0 |
2023-08-01 15:09 | dpasukhi | Target Version | 7.8.0 => Unscheduled |
2023-08-24 18:02 | dpasukhi | Assigned To | azv => dpasukhi |