Page MenuHome GnuPG

cpp: ifdef pragma GCC usage on MSVC
Needs ReviewPublic

Authored by CarlSchwan on Jan 22 2024, 11:33 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary
  • lang/cpp/src/context.cpp: ifdef pragma GCC diagnostic usage --

Unfortunately there is no compiler indenpendent to remove warnings yet,
as pragma GCC diagnostic is only implemented in GCC and clang and
warning is only implemented on MSVC.

Test Plan

Remove one compiler error when trying to compile with MSVC

Diff Detail

Repository
rM GPGME
Branch
work/carl/msvc-pragma-gcc
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

CarlSchwan created this revision.