Fix compile error in src/third_party/mozjs/extract/js/src/threading/ExclusiveData.h

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Fully Compatible
    • Programmability 2024-11-25, Programmability 2024-12-09
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      ExclusiveData implements a move constructor that both has a misspelled variable and attempts to move a Mutex, which contains a member variable that deletes its move constructor. Clang 19 is able to recognize that this issue occurs independently of the template arguments and is present in every possible template instantiation, and diagnoses the issue as an error. Since this code has compiled on older compilers, I would imagine that it just never gets instantiated with template arguments, so we may be able to just delete the move constructor to silence the issue on Clang 19.

            Assignee:
            James Bronsted
            Reporter:
            James Bronsted
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: