Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: add -Wdate-time to Werror flags #17880

Merged
merged 1 commit into from Jan 8, 2020

Commits on Jan 6, 2020

  1. build: add Wdate-time to Werror flags

    -Wdate-time
    
        Warn when macros __TIME__, __DATE__ or __TIMESTAMP__ are encountered as 
        they might prevent bit-wise-identical reproducible compilations.
    
    This is supported by GCC and Clang.
    https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
    https://clang.llvm.org/docs/DiagnosticsReference.html#wdate-time
    fanquake committed Jan 6, 2020
    Configuration menu
    Copy the full SHA
    b0a2540 View commit details
    Browse the repository at this point in the history