facebook / facebook/folly

lexical or preprocessor issue - redefinition of module

Open
#1,836 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
30.5k
Forks
5.9k
PR merge metrics
No merged PRs in 30d

Description

I have been looking for a solution to fix the below error.

`Lexical or Preprocessor Issue Group - Redefinition of module 'folly'`
![Screenshot_4](https://user-images.githubusercontent.com/86578241/184504335-08b97fcd-994e-4ea4-8e29-bb18f5bac6b9.png)

FYI, I attached the screenshot to show you the errors. I have gone through all solutions on stackoverflow and github but none of them gives a clear and relevant solution. As you can see, there are 12 errors in two categories. One is Lexical or Preprocessor Issue Group and another is Parse Issue. I have focused mainly on searching for the solution to first category issues but they all Lexical or Preprocessor Issue - ***.h file not found errors. So no helpful one found yet. I am building it in Xcode 13.4.1 after migrating from Xcode 12.

Thank you!

Contributor guide

Open the contributing guide

Research direction

The report names the folly module and Xcode 13.4.1 after migration from Xcode 12, but provides no repository files, tests, or minimal reproduction. Start by reproducing the reported module-redefinition and parse errors in that Xcode setup; the work is done when the cause is isolated and a verified resolution is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.