-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes for new folly consumption (#2369)
* suppress new folly warning in msoFolly.h * add export for const dynamic operator[]str
- Loading branch information
Showing
7 changed files
with
50 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,39 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
// This file is a helper to allow devmain code to include folly | ||
// TODO: This file should eventually move to devmain | ||
//#ifndef FBXPLATMODULE | ||
//#define FBXPLATMODULE | ||
|
||
#include <iostream> | ||
#pragma warning( push ) | ||
#pragma warning( disable : 4995 ) | ||
#pragma warning( disable : 4068 ) | ||
#pragma warning( disable : 4146 ) | ||
#pragma warning( disable : 4100 ) | ||
#pragma push_macro("CHECK") | ||
#pragma push_macro("Check") | ||
#pragma push_macro("max") | ||
#pragma push_macro("min") | ||
#pragma push_macro("OUT") | ||
#pragma push_macro("IN") | ||
#undef Check | ||
#undef CHECK | ||
#undef max | ||
#undef min | ||
#undef OUT | ||
#undef IN | ||
#include <folly/dynamic.h> | ||
#pragma pop_macro("IN") | ||
#pragma pop_macro("OUT") | ||
#pragma pop_macro("min") | ||
#pragma pop_macro("max") | ||
#pragma pop_macro("Check") | ||
#pragma pop_macro("CHECK") | ||
#pragma warning( pop ) | ||
|
||
//#endif | ||
|
||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
// This file is a helper to allow devmain code to include folly | ||
// TODO: This file should eventually move to devmain | ||
//#ifndef FBXPLATMODULE | ||
//#define FBXPLATMODULE | ||
|
||
#include <iostream> | ||
#pragma warning( push ) | ||
#pragma warning( disable : 4995 ) | ||
#pragma warning( disable : 4068 ) | ||
#pragma warning( disable : 4146 ) | ||
#pragma warning( disable : 4100 ) | ||
#pragma warning( disable : 4324 ) // structure was padded due to alignment specifier | ||
#pragma push_macro("CHECK") | ||
#pragma push_macro("Check") | ||
#pragma push_macro("max") | ||
#pragma push_macro("min") | ||
#pragma push_macro("OUT") | ||
#pragma push_macro("IN") | ||
#undef Check | ||
#undef CHECK | ||
#undef max | ||
#undef min | ||
#undef OUT | ||
#undef IN | ||
#include <folly/dynamic.h> | ||
#pragma pop_macro("IN") | ||
#pragma pop_macro("OUT") | ||
#pragma pop_macro("min") | ||
#pragma pop_macro("max") | ||
#pragma pop_macro("Check") | ||
#pragma pop_macro("CHECK") | ||
#pragma warning( pop ) | ||
|
||
//#endif | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters