Skip to content

Warning suppresion for TBB on WinRT added.#1169

Merged
opencv-pushbot merged 1 commit intoopencv:2.4from
asmorkalov:winrt_tbb_dbg_wrn_fix
Jul 24, 2013
Merged

Warning suppresion for TBB on WinRT added.#1169
opencv-pushbot merged 1 commit intoopencv:2.4from
asmorkalov:winrt_tbb_dbg_wrn_fix

Conversation

@asmorkalov
Copy link
Copy Markdown
Contributor

Warning appears in TBB headers in case of Debug build.

@ghost ghost assigned SpecLad Jul 23, 2013
@ivan-korolev
Copy link
Copy Markdown
Contributor

@SpecLad Roman, could you please review?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you remove the previously disabled warnings? And why didn't you use ocv_warnings_disable for this one?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ocv_warnings_disable macro just remove key from CMAKE_CXX_FLAGS. -Wunused-parameter is not relevant for cl.exe. We do not set warning level for WinRT, so /wd is the only solution.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure ocv_warnings_disable will append your flag. I mean, look at the source.

@SpecLad
Copy link
Copy Markdown

SpecLad commented Jul 24, 2013

👍

@opencv-pushbot opencv-pushbot merged commit 908039c into opencv:2.4 Jul 24, 2013
@SpecLad SpecLad mentioned this pull request Aug 6, 2013
@asmorkalov asmorkalov deleted the winrt_tbb_dbg_wrn_fix branch January 19, 2014 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants