We're updating the issue view to help you get more done. 

ICU4C: Fix GCC warnings about unknown pragma when building with MSYS2 (Windows).

Description

There are numerous warnings about unknown pragmas when building ICU4C with GCC under MSYS2.

Example:

1 2 3 4 5 In file included from number_patternstring.h:16, from number_mapper.h:14, from number_mapper.cpp:12: number_decimfmtprops.h:25: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(suppress: 4661)

We should make the MSVC-specific pragmas conditional on _MSC_VER being defined so reduce the number of noisy warnings.

Status

Assignee

Jeff Genovy

Reporter

Jeff Genovy

Reviewer

Axel Andrejs

Components

Fix versions

Priority

minor