Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dschmidt/libcrashreporter-qt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2021-10-22 11:52:02 +0300
committerHannah von Reth <hannah.vonreth@owncloud.com>2021-10-22 12:07:43 +0300
commit387c5b0e7ce571a96e260333f5af64a455c212e3 (patch)
tree4d4fa9ff650b135e56a6cef3df440adddbbf1222
parent41124396a01796d239c2d215f1d48a43221e3862 (diff)
Remove deprecated register keywordwork/cpp17
The keyword register is deprecated and removed with c++17
-rw-r--r--3rdparty/breakpad/client/mac/handler/breakpad_nlist_64.cc4
-rw-r--r--3rdparty/breakpad/common/dwarf/dwarf2reader.cc2
-rw-r--r--3rdparty/breakpad/common/md5.cc2
3 files changed, 4 insertions, 4 deletions
diff --git a/3rdparty/breakpad/client/mac/handler/breakpad_nlist_64.cc b/3rdparty/breakpad/client/mac/handler/breakpad_nlist_64.cc
index fcb667e..f6e1d95 100644
--- a/3rdparty/breakpad/client/mac/handler/breakpad_nlist_64.cc
+++ b/3rdparty/breakpad/client/mac/handler/breakpad_nlist_64.cc
@@ -281,7 +281,7 @@ int __breakpad_fdnlist(int fd, nlist_type *list, const char **symbolNames,
off_t sa; /* symbol address */
off_t ss; /* start of strings */
- register register_t n;
+ register_t n;
if (*((unsigned int *)&buf) == magic) {
if (lseek(fd, arch_offset, SEEK_SET) == -1) {
return -1;
@@ -354,7 +354,7 @@ int __breakpad_fdnlist(int fd, nlist_type *list, const char **symbolNames,
// and look for a match
while (n) {
nlist_type space[BUFSIZ/sizeof (nlist_type)];
- register register_t m = sizeof (space);
+ register_t m = sizeof (space);
if (n < m)
m = n;
diff --git a/3rdparty/breakpad/common/dwarf/dwarf2reader.cc b/3rdparty/breakpad/common/dwarf/dwarf2reader.cc
index a26143c..3263afd 100644
--- a/3rdparty/breakpad/common/dwarf/dwarf2reader.cc
+++ b/3rdparty/breakpad/common/dwarf/dwarf2reader.cc
@@ -874,7 +874,7 @@ class CallFrameInfo::Rule {
// describes how to compute the canonical frame address. Return what the
// HANDLER member function returned.
virtual bool Handle(Handler *handler,
- uint64 address, int register) const = 0;
+ uint64 address, int _register) const = 0;
// Equality on rules. We use these to decide which rules we need
// to report after a DW_CFA_restore_state instruction.
diff --git a/3rdparty/breakpad/common/md5.cc b/3rdparty/breakpad/common/md5.cc
index bccf61c..3debebb 100644
--- a/3rdparty/breakpad/common/md5.cc
+++ b/3rdparty/breakpad/common/md5.cc
@@ -166,7 +166,7 @@ void MD5Final(unsigned char digest[16], struct MD5Context *ctx)
*/
static void MD5Transform(u32 buf[4], u32 const in[16])
{
- register u32 a, b, c, d;
+ u32 a, b, c, d;
a = buf[0];
b = buf[1];