Title | MPS does not compile with Clang 6.0.0 |
Status | closed |
Priority | essential |
Assigned user | Gareth Rees |
Organization | Ravenbrook |
Description | On 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] |
Analysis | The -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 found | automated_test |
Evidence | [1] https://info.ravenbrook.com/infosys/cgi/perfbrowse.cgi?@describe+183413 |
Created by | Gareth Rees |
Created on | 2019-06-05 14:09:15 |
Last modified by | Gareth Rees |
Last modified on | 2019-06-05 14:33:43 |
History | 2019-06-05 GDR Created. |
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. |