User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Steps to reproduce:
Tried to build seamonkey-184.108.40.206 using the instructions at BLFS,
With gcc-11.1.0 and nss-3.65 the build fell over in IDBTransaction.h at the CLEANUP enum:
/scratch/working/seamonkey-220.127.116.11/obj-x86_64-pc-linux-gnu/dist/include/mozilla/dom/IDBTransaction.h: At global scope:
/scratch/working/seamonkey-18.104.22.168/obj-x86_64-pc-linux-gnu/dist/includemozilla/dom/IDBTransaction.h:62:5: error: expected identifier before '(' token
62 | CLEANUP,
Today, someone who is still using gcc-10.2.0 reported a similar error:
In file included from /home/pro/rpmbuild/BUILD/seamonkey-22.214.171.124/obj-x86_64-pc-linux-gnu/dom/bindings/IDBDatabaseBinding.cpp:16:
/home/pro/rpmbuild/BUILD/seamonkey-126.96.36.199/obj-x86_64-pc-linux-gnu/dist/include/mozilla/dom/IDBTransaction.h:197:21: error: use of undeclared identifier 'cleanup'
mMode == CLEANUP ||
/usr/include/nss/pk11hpke.h:13:5: note: expanded from macro 'CLEANUP'
He was able to identify that nss was involved, and fixed this by downgrading nss to 3.64. Doing that also fixed my build with gcc-11.1.0.
Not sure whether seamonkey or nss is the problem, but since only seamonkey seems to be affected I'll start here.