https://bugs.kde.org/show_bug.cgi?id=440091

            Bug ID: 440091
           Summary: htmlparser doctypes.gperf ISO C++17 does not allow
                    'register' storage class specifier
           Product: frameworks-khtml
           Version: unspecified
          Platform: MacPorts Packages
                OS: macOS
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: martin.sandsm...@kde.org
          Reporter: kurt.hindenb...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

I build KF5 from current source.  This is the first git change that doesn't
build  8540c72b29cc48e9e6ba14807e4e6180e3f62fce which is confusing to me.  I
would have assume it as the 2 earlier registry changes that would have caused
it: 9901089fd067b361583b165727ff56107dcd3b87 and
b8a1f65d07c58f57e83f2a50344a374de137410b

AppleClang 12.0.5.12050022; 


In file included from
/Volumes/Devel/KDE/src/frameworks/khtml/src/html/htmlparse
r.cpp:67:
/Volumes/Devel/KDE/src/frameworks/khtml/src/html/doctypes.gperf:33:21: error:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Perfect_Hash::hash (register const char *str, register unsigned int len)
                    ^~~~~~~~~
/Volumes/Devel/KDE/src/frameworks/khtml/src/html/doctypes.gperf:33:47: error:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Perfect_Hash::hash (register const char *str, register unsigned int len)
                                              ^~~~~~~~~
/Volumes/Devel/KDE/src/frameworks/khtml/src/html/doctypes.gperf:64:3: error:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  register unsigned int hval = len;
  ^~~~~~~~~
/Volumes/Devel/KDE/src/frameworks/khtml/src/html/doctypes.gperf:313:33: error:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Perfect_Hash::findDoctypeEntry (register const char *str, register unsigned int
len)
   /Volumes/Devel/KDE/src/frameworks/khtml/src/html/doctypes.gperf:313:33:
error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Perfect_Hash::findDoctypeEntry (register const char *str, register unsigned int
len)
                                ^~~~~~~~~
/Volumes/Devel/KDE/src/frameworks/khtml/src/html/doctypes.gperf:313:59: error:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Perfect_Hash::findDoctypeEntry (register const char *str, register unsigned int
len)
                                                          ^~~~~~~~~
/Volumes/Devel/KDE/src/frameworks/khtml/src/html/doctypes.gperf:81:11: error:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
          register const char *s = wordlist[key].name;                         
   ^~~~~~~~~

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to