MPS issue job004162

TitleMPS does not compile with Clang 6.0.0
Statusclosed
Priorityessential
Assigned userGareth Rees
OrganizationRavenbrook
DescriptionOn Ubuntu 18.04:

    $ clang --version
    clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)

    $ make -f lii6ll.gmk testrun
    error: unknown warning option '-Wno-extended-offsetof'; did you mean
          '-Wno-invalid-offsetof'? [-Werror,-Wunknown-warning-option]
AnalysisThe -Wno-extended-offsetof flag was provided to avoid failed compilations from clang -pedantic due to the use of "extended" (non-standards-conforming) calls to offsetof (see job003619). But these calls were all removed in [1], so the flag is no longer needed.
How foundautomated_test
Evidence[1] https://info.ravenbrook.com/infosys/cgi/perfbrowse.cgi?@describe+183413
Created byGareth Rees
Created on2019-06-05 14:09:15
Last modified byGareth Rees
Last modified on2019-06-05 14:33:43
History2019-06-05 GDR Created.

Fixes

Change Effect Date User Description
196189 closed 2019-06-05 14:33:43 Gareth Rees Remove -Wno-extended-offsetof flag, no longer needed and not compatible with all the versions of Clang that we need to support.