Opened 3 years ago

Closed 7 months ago

#64280 closed defect (fixed)

onetbb @2021.5.0: error: declaration does not declare anything

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: mohd-akram (Mohamed Akram)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: mavericks Cc:
Port: onetbb

Description

https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/171062/steps/install-port/logs/stdio

src/tbb/tools_api/ittnotify_static.c:1227:29: error: declaration does not declare anything [-Werror,-Wmissing-declarations]
                            ITT_ATTRIBUTE_FALLTHROUGH;
                            ^~~~~~~~~~~~~~~~~~~~~~~~~

Generally ports should not use -Werror for reasons such as this.

Change History (3)

comment:1 Changed 3 years ago by barracuda156

-Werror can be turned off with -DTBB_STRICT=OFF.

comment:2 Changed 10 months ago by mohd-akram (Mohamed Akram)

This seems fixed.

comment:3 Changed 7 months ago by mohd-akram (Mohamed Akram)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.