summaryrefslogtreecommitdiffstats
path: root/src/portable.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-11-27 10:34:55 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-11-27 10:34:55 (GMT)
commitb6101af96fb793d9e9bdc0c34f0690545f3a1e56 (patch)
tree75537b0958a7d24c92b2b06ac64f3e20914faa6c /src/portable.cpp
parent8c7b1352474e4da5024cfc3ecc25a486b1d4ef2a (diff)
downloadDoxygen-b6101af96fb793d9e9bdc0c34f0690545f3a1e56.zip
Doxygen-b6101af96fb793d9e9bdc0c34f0690545f3a1e56.tar.gz
Doxygen-b6101af96fb793d9e9bdc0c34f0690545f3a1e56.tar.bz2
Keyword register (in code) is deprecated since C++11
The keyword `register` is deprecated since C++11: - for the Darwin platform it was already filtered (-Wno-deprecated-register) - CLan emits: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
Diffstat (limited to 'src/portable.cpp')
-rw-r--r--src/portable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/portable.cpp b/src/portable.cpp
index 08691b2..3dccaed 100644
--- a/src/portable.cpp
+++ b/src/portable.cpp
@@ -211,8 +211,8 @@ void portable_setenv(const char *name,const char *value)
#if defined(_WIN32) && !defined(__CYGWIN__)
SetEnvironmentVariable(name,value);
#else
- register char **ep = 0;
- register size_t size;
+ char **ep = 0;
+ size_t size;
const size_t namelen=qstrlen(name);
const size_t vallen=qstrlen(value) + 1;