facebook/redex

reference to 'pb' is ambiguous

Closed this issue · 1 comments

when I build the source, get the errors below

libredex/BundleResources.cpp:419:8: error: reference to 'pb' is ambiguous
  case pb::Configuration_LayoutDirection_LAYOUT_DIRECTION_LTR:
       ^
/opt/homebrew/include/google/protobuf/extension_set.h:73:11: note: candidate found by name lookup is 'pb'
namespace pb {
          ^
./protores/Resources.pb.h:215:11: note: candidate found by name lookup is 'aapt::pb'
namespace pb {
          ^
libredex/BundleResources.cpp:425:8: error: reference to 'pb' is ambiguous
  case pb::Configuration_LayoutDirection_LAYOUT_DIRECTION_RTL:

This error should result from an incompatibility with the protobuf 28.2 version。

I assume rebasing past 8bd1f37 should correct the issue.