summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEsun Kim <veblush@google.com>2019-09-10 15:21:19 -0700
committerGitHub <noreply@github.com>2019-09-10 15:21:19 -0700
commit9effcbcb27f0a665f9f345030188c0b291e32482 (patch)
tree08d08f59d75fe4992e7579baff38ea0cb9eca7ad
parentcdb3779e9928661d45f7b06520e020674ed41615 (diff)
parent905d1913f7497ed22f632b104a0c54b1cfb59537 (diff)
Merge pull request #213 from veblush/c99HEADmaster
Removed -std=c89 option
-rw-r--r--BUILD1
-rw-r--r--upb/port_def.inc2
2 files changed, 1 insertions, 2 deletions
diff --git a/BUILD b/BUILD
index 4b96c69..ad85b20 100644
--- a/BUILD
+++ b/BUILD
@@ -32,7 +32,6 @@ CPPOPTS = [
COPTS = CPPOPTS + [
# copybara:strip_for_google3_begin
"-pedantic",
- "-std=c89",
"-Wstrict-prototypes",
# copybara:strip_end
]
diff --git a/upb/port_def.inc b/upb/port_def.inc
index 8362f78..a8967b3 100644
--- a/upb/port_def.inc
+++ b/upb/port_def.inc
@@ -114,7 +114,7 @@ int msvc_vsnprintf(char* s, size_t n, const char* format, va_list arg);
#ifdef __cplusplus
#if __cplusplus >= 201103L || defined(__GXX_EXPERIMENTAL_CXX0X__) || \
(defined(_MSC_VER) && _MSC_VER >= 1900)
-// C++11 is present
+/* C++11 is present */
#else
#error upb requires C++11 for C++ support
#endif
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback