Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
G
gflags
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
gflags
Commits
a69b2544
Commit
a69b2544
authored
Aug 03, 2016
by
Dreamer
Committed by
Andreas Schuh
Aug 03, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Windows linker errors and warnings. (#166)
parent
15394d35
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
gflags.cc
src/gflags.cc
+2
-1
gflags_declare.h.in
src/gflags_declare.h.in
+1
-1
No files found.
src/gflags.cc
View file @
a69b2544
...
...
@@ -96,6 +96,7 @@
#if defined(HAVE_FNMATCH_H)
# include <fnmatch.h>
#elif defined(HAVE_SHLWAPI_H)
# define NO_SHLWAPI_ISOS
# include <shlwapi.h>
#endif
#include <stdarg.h> // For va_list and related operations
...
...
@@ -1467,7 +1468,7 @@ FlagRegisterer::FlagRegisterer(const char* name,
// Force compiler to generate code for the given template specialization.
#define INSTANTIATE_FLAG_REGISTERER_CTOR(type) \
template
FlagRegisterer::FlagRegisterer(
\
template
GFLAGS_DLL_DECL FlagRegisterer::FlagRegisterer(
\
const char* name, const char* help, const char* filename, \
type* current_storage, type* defvalue_storage)
...
...
src/gflags_declare.h.in
View file @
a69b2544
...
...
@@ -56,7 +56,7 @@
// We always want to import variables declared in user code
#ifndef GFLAGS_DLL_DECLARE_FLAG
# if
def _MSC_VER
# if
@GFLAGS_IS_A_DLL@ && defined(_MSC_VER)
# define GFLAGS_DLL_DECLARE_FLAG __declspec(dllimport)
# else
# define GFLAGS_DLL_DECLARE_FLAG
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment