-
Notifications
You must be signed in to change notification settings - Fork 520
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump version and changelog for 1.10 release
- Loading branch information
1 parent
309e7da
commit b2c090f
Showing
2 changed files
with
22 additions
and
3 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
b2c090f
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.
Using
clang-cl -Wall
to compile NPcap generates huge amount of warnings. Some are due to this file:What is the purpose of this strange
#define
syntax?b2c090f
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.
This makes the file a polyglot header that can be used by MSVC as well as NSIS to build our installer. The C preprocessor ignores as a comment everything between the first
/*
and the very next*/
. The NSIS preprocessor treats the#
at the beginning of the previous line as introducing a comment, so it does not see the first/*
. The next line uses NSIS preprocessor definition syntax,!define
, within the C comment. Then the/**/
is recognized by NSIS as an inline comment.