oneTBB icon indicating copy to clipboard operation
oneTBB copied to clipboard

Fix/suppress new GCC warnings

Open gzz2000 opened this issue 7 months ago • 2 comments

Description

In https://github.com/uxlfoundation/oneTBB/pull/1192 the warning Wstringop-overflow was ignored for some GCC versions. I applied the same pragma to another new spot (concurrent_monitor.h:440) where the warning is also being false-positively triggered now.

Fixes https://github.com/uxlfoundation/oneTBB/issues/1508

Type of change

Choose one or multiple, leave empty if none of the other choices apply

Add a respective label(s) to PR if you have permissions

  • [x] bug fix - change that fixes an issue
  • [ ] new feature - change that adds functionality
  • [ ] tests - change in tests
  • [ ] infrastructure - change in infrastructure and CI
  • [ ] documentation - documentation update

Tests

  • [ ] added - required for new features and some bug fixes
  • [x] not needed

Documentation

  • [ ] updated in # - add PR number
  • [ ] needs to be updated
  • [x] not needed

Breaks backward compatibility

  • [ ] Yes
  • [x] No
  • [ ] Unknown

Notify the following users

List users with @ to send notifications

Other information

gzz2000 avatar Jun 13 '25 05:06 gzz2000

Thank you for submitting this, @gzz2000. Could you please update the copyright year in the modified file: https://github.com/uxlfoundation/oneTBB/actions/runs/15627205507/job/44023614533

dnmokhov avatar Jun 13 '25 06:06 dnmokhov

Thank you for submitting this, @gzz2000. Could you please update the copyright year in the modified file: https://github.com/uxlfoundation/oneTBB/actions/runs/15627205507/job/44023614533

Sure, updated.

gzz2000 avatar Jun 13 '25 06:06 gzz2000