From: Christopher Dykes Date: Fri, 30 Jun 2017 18:19:54 +0000 (-0700) Subject: Use #warning rather than #warn X-Git-Tag: v2017.07.03.00~12 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b7fd076d327994ce96347426fd3c2d2923e5dc75;p=folly.git Use #warning rather than #warn Summary: Because `#warn` isn't actually a thing. Reviewed By: ot Differential Revision: D5356878 fbshipit-source-id: 57751ca57e7f6aaf9f4d8be70958b9cacc4f7335 --- diff --git a/folly/memory/UninitializedMemoryHacks.h b/folly/memory/UninitializedMemoryHacks.h index f4c87c7c..a363e102 100644 --- a/folly/memory/UninitializedMemoryHacks.h +++ b/folly/memory/UninitializedMemoryHacks.h @@ -244,7 +244,7 @@ inline void unsafeStringSetLargerSize(std::string& s, std::size_t n) { } #else -#warn "No implementation for resizeWithoutInitialization of std::string" +#warning "No implementation for resizeWithoutInitialization of std::string" #endif // This machinery bridges template expansion and macro expansion