Skip to content

Commit 5f56d8f

Browse files
javachefacebook-github-bot
authored andcommitted
Enable -Wundef for react-native targets
Summary: Prevent the class of issues seen in D68797482 by making `#if FOO` where `FOO` is not defined an error. Changelog: [Internal] Reviewed By: sammy-SC Differential Revision: D68824244
1 parent b686b5f commit 5f56d8f

File tree

1 file changed

+2
-0
lines changed
  • packages/react-native/ReactCommon/react/renderer/graphics

1 file changed

+2
-0
lines changed

packages/react-native/ReactCommon/react/renderer/graphics/Transform.h

+2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
#pragma once
99

1010
#include <array>
11+
#include <string>
1112
#include <vector>
1213

14+
#include <react/renderer/debug/flags.h>
1315
#include <react/renderer/graphics/Float.h>
1416
#include <react/renderer/graphics/Point.h>
1517
#include <react/renderer/graphics/RectangleEdges.h>

0 commit comments

Comments
 (0)