Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix "C2872: 'byte': ambiguous symbol" with Windows Kit (Issue 442, 447)
AppVeyor detected the break but we did not receive the email about it. It looks like we have an AppVeyor configuration problem
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00e1337
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test.cpp
has ausing namespace CryptoPP
. The practical problems for us are, (1) Microsoft should not be adding symbols likebyte
to the global namespace; and (2)main
must not be in a namespace.This was triaged to avoid problems for Windows users. Later we checked-in a changed that effectively moved all functions in
test.cpp
into theCryptoPP::Test
namespace. We needed more time to test the change to ensure it did not break on various platforms.Also see issue 447, Fix "C2872: 'byte': ambiguous symbol" with Windows Kit (Issue 442, 447).