diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-04-30 11:10:46 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2014-06-02 15:57:50 -0700 |
commit | 5bed8036644f552210a7cfcbed2d6d20cf2981b0 (patch) | |
tree | 37f784e181086e99b17e00d46b6da30529751539 /libutils/StopWatch.cpp | |
parent | bf0f25905b12581f05b65b1ebe95211c727ae483 (diff) | |
download | core-5bed8036644f552210a7cfcbed2d6d20cf2981b0.tar.gz core-5bed8036644f552210a7cfcbed2d6d20cf2981b0.tar.bz2 core-5bed8036644f552210a7cfcbed2d6d20cf2981b0.zip |
libutils: turn on -Werror
- Deal with some -Wunused issues
- Override PRI macros (windows)
- Revert use of PRI macros on off64_t (linux)
- Deal with a gnu++11 complaince issue
Change-Id: Ie66751293bd84477a5a6dfd8a57e700a16e36964
Diffstat (limited to 'libutils/StopWatch.cpp')
-rw-r--r-- | libutils/StopWatch.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libutils/StopWatch.cpp b/libutils/StopWatch.cpp index b1708d62b..8c7b59645 100644 --- a/libutils/StopWatch.cpp +++ b/libutils/StopWatch.cpp @@ -21,7 +21,9 @@ #include <stdio.h> /* for PRId64 */ +#ifndef __STDC_FORMAT_MACROS #define __STDC_FORMAT_MACROS 1 +#endif #include <inttypes.h> #include <utils/Log.h> |