| Issue |
109966
|
| Summary |
llvm19.1.10 reports an error when compiling spec2006's 483.Xalan
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
fanwudi7463
|
483.Xalan of spec2006 can be compiled successfully in both llvm17 and 18 versions, but today when upgrading to llvm19.1.10, an error message appeared while compiling this example。
./xercesc/util/NameIdPool.c:416:20: error: cannot assign to non-static data member 'fMemoryManager' with const-qualified type 'MemoryManager *const'
416 | fMemoryManager = toAssign.fMemoryManager;
| ~~~~~~~~~~~~~~ ^
./xercesc/util/NameIdPool.hpp:307:26: note: non-static data member 'fMemoryManager' declared const here
307 | MemoryManager *const fMemoryManager;
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
1 error generated.

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs