Andreas Schuh
ae2fae5645
Merge branch 'remove-doc-submodule'
2020-09-18 17:55:31 +01:00
Andreas Schuh
1c86423887
Add doc/README.md with command to update gh-pages
2020-09-18 17:50:41 +01:00
Andreas Schuh
8843f88b69
Add 'doc/' from commit '8411df715cf522606e3b1aca386ddfc0b63d34b4'
...
git-subtree-dir: doc
git-subtree-mainline: 4405871443
git-subtree-split: 8411df715c
2020-09-18 17:44:46 +01:00
Andreas Schuh
4405871443
Remove doc/ submodule self-reference
2020-09-18 17:44:26 +01:00
Andrew Gasparovic
f7388c6655
Simplify found_question_marks tests
2020-06-16 22:11:03 +01:00
Andrew Gasparovic
84968c6bb2
Remove fallthrough switch case
...
GCC gives an implicit-fallthrough warning (included in -Wextra). C++17 has the [[fallthrough]] attribute, and GCC7+ has __attribute__ ((fallthrough)), but I didn't want to require either so I refactored the switch into if statements.
2020-06-16 22:11:03 +01:00
Tom Lundell
1137acc9e0
Remove msys dependency for Windows.
...
Bazel genrules require a msys shell to execute
shell commands. Replace the genrules with a
simple C++ regex replacement binary.
Fixes #303 .
2020-06-13 03:44:00 +01:00
Andrew Gasparovic
ef8e134d48
Remove unreachable code
...
INFO: From Compiling external/com_github_gflags_gflags/src/gflags_completions.cc:
external/com_github_gflags_gflags/src/gflags_completions.cc:459:16: warning: code will never be executed [-Wunreachable-code]
DVLOG(3) << "Result: most-common match";
^~
1 warning generated.
2020-06-13 00:41:51 +01:00
Ilya Lavrenov
addd749114
Set POCICY 0063 to new
2020-03-18 12:31:18 +00:00
Trevor Hickey
2e227c3daa
remove attribute where it does not apply
...
```
gflags.h(226): warning: attribute "visibility" does not apply here
```
The visibility attribute applies to symbols like functions and variables. A definition of an enumeration type that doesn't contain a variable name doesn't create any symbols.
2020-01-16 00:49:58 +00:00
Jacky Wu
d9b184bd00
Avoid no-match message in case STRIP_FLAG_HELP been set
...
If the workaround in issue #43 is used along with the define of
STRIP_FLAG_HELP to 1, there would be a wrong "No modules matched"
message been print at end of the usage message.
That's because we continue the loop if we see strip flag help value and
never set the `found_match` flag to true even if we found a match.
By moving the set statement above the continue, we can avoid this wrong
message.
2019-11-13 14:07:30 +00:00
Rosen Penev
6c8f50b567
[clang-tidy] Remove redundant initialization of strings
...
Found with readability-redundant-string-init
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-01 09:26:51 +00:00
Rosen Penev
6d224d34b6
[clang-tidy] Replace deprecated C headers
...
Deprecated with C++14.
Found with modernize-deprecated-headers
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-01 09:26:51 +00:00
Mizux
0b7f8db2c6
Fix check of targets in package config when GFLAGS_USE_TARGET_NAMESPACE
2019-09-29 15:31:36 +01:00
Andreas Schuh
f40e43a628
Change order of sections in INSTALL file, mention Homebrew
2019-09-29 14:59:09 +01:00
grdowns
57c5913fb8
Add vcpkg installation instructions
2019-09-29 14:50:43 +01:00
Rosen Penev
2cac878761
package.pc.in: bin and libdir to exec_prefix
...
More consistent with other pkgconfig files.
No functional difference.
2019-09-17 19:13:49 +01:00
Andreas Schuh
28f50e0fed
fix: Install pkgconfig file only when INSTALL_HEADERS option is ON
2019-01-25 17:58:59 +00:00
Andreas Schuh
1005485222
fixup: Keep CMake coding style with whitespace after command name
2018-12-05 11:11:48 +00:00
Andreas Schuh
be65295633
fix: GFLAGS_* variables take precedence in gflags_define
2018-12-05 11:11:48 +00:00
Andreas Schuh
524b83d026
Merge pull request #276 from Rastaban/master
...
Add missing @ to cmake-config.in
2018-12-01 00:20:51 +00:00
Phil Christensen
34819405ab
Merge pull request #1 from Rastaban/Rastaban-patch-1
...
Add missing @ to cmake file
2018-11-30 15:50:14 -08:00
Phil Christensen
00fcadd9b8
Add missing @ to cmake file
2018-11-30 15:48:42 -08:00
Andreas Schuh
498cfa8b13
doc: Minor English language fix in release notes
2018-11-11 21:43:32 +00:00
Andreas Schuh
e171aa2d15
Release v2.2.2
2018-11-11 21:21:00 +00:00
Andreas Schuh
3d2a101c9e
doc: Update README for release v2.2.2
2018-11-11 21:17:01 +00:00
Andreas Schuh
af502c8176
doc: Update ChangeLog for release v2.2.2
2018-11-11 21:09:58 +00:00
Andreas Schuh
0f439e8407
cmake: Increment project version to 2.2.2
2018-11-11 21:09:38 +00:00
Andreas Schuh
83fecd3ed0
doc: Updated CMake and Bazel examples
2018-11-11 20:45:00 +00:00
Andreas Schuh
8411df715c
Update CMake and Bazel examples
2018-11-11 20:44:23 +00:00
Andreas Schuh
4c0bbc0604
fix: Use 'default' visibility for GCC
2018-11-11 20:35:02 +00:00
Andreas Schuh
0c7012d647
fix: Build with MinGW version after Nov 2016
2018-11-09 16:38:57 +00:00
Andreas Schuh
b051bace27
fix: Build with _UNICODE support on Windows
2018-11-09 16:16:24 +00:00
Andreas Schuh
7e70988188
fix: PVS Studio warnings
2018-10-15 02:15:17 -07:00
Andreas Schuh
754d3329a6
fix: No extern template declaration for MSVC <12.0
2018-10-15 00:50:48 -07:00
Andreas Schuh
82456f220f
fix: Declare FlagRegisterer c’tor explicit template instanations as extern in header
2018-10-15 00:50:48 -07:00
Andreas Schuh
3e2e349307
fix: Declare FALGS_no##name variables as static
2018-10-14 00:16:13 -07:00
Andreas Schuh
c0b1add45f
fix: Import with GFLAGS_USE_TARGET_NAMESPACE=ON
2018-09-28 16:28:33 +01:00
Andreas Schuh
f1ea012a41
fix: Import with or without gflags:: namespace
2018-09-28 16:28:33 +01:00
Andreas Schuh
b0c4cd29e4
fix: Define both 'gflags' and 'gflags::gflags' alias targets
2018-09-28 16:28:33 +01:00
Andreas Schuh
04c8ce76e2
fix: Indentation, use spaces instead of real tabs
2018-09-28 16:00:51 +01:00
Andreas Schuh
d4a050d173
Merge pull request #247 from Mizux/master
2018-09-28 14:52:29 +01:00
wuchenghui
48677f930d
fix missing-field-initializers warnings on gcc
2018-09-28 14:50:39 +01:00
drillsar
6e536553ef
Fix V728 excessive check
2018-09-28 14:49:19 +01:00
kokerf
cad38c919c
Set postfixes for generated libraries based on buildtype
2018-09-28 13:23:32 +01:00
Matt Hargett
2c49763b73
Fix build on some clang variants
...
Some platforms' yval.h defines restrict as a macro when using clang, which causes this file to not compile.
2018-09-28 13:21:24 +01:00
Andreas Schuh
660603a3df
doc: Update documentation on how to use Bazel
2018-07-05 23:24:35 +01:00
Andreas Schuh
679df49798
Merge branch 'gh-pages' of github.com:gflags/gflags into gh-pages
2018-07-05 23:23:36 +01:00
Andreas Schuh
48cdc79332
doc: Use of Bazel bind discouraged
2018-07-05 23:23:21 +01:00
Sam Liu
518267d34f
Remove installation guide's recommendation to use Bazel's bind().
2018-07-05 23:17:28 +01:00