Page MenuHomePhabricator

#pragma causes warnings which cause MSVC 14 build to throw error and fail
Closed, ResolvedPublic

Description

The CppMicroServices component uses #pragma in its source code, and these instructions causes warning which in turn cause errors (ie, warning processed as errors). These errors prevent build to finish using MSVC 14.
To avoid these warnings to be processed as errors, another MSVC flag (/wd4180) should be added when compiling CppMicroServices. This implies one new line and one update in current build code (patch attached).

Regards,

Aurélien Labrosse

Event Timeline

kislinsk claimed this task.
kislinsk added a subscriber: kislinsk.

I guess this was resolved meanwhile as I can compile MITK with MSVC 2015 for a while now.