[FR] 0>app.h(341,5): Error : 'INTERNAL_EXPERIMENTAL' is not defined, evaluates to 0 [-Werror,-Wundef]
nguyenvanminhc9nvm opened this issue · 3 comments
i receiver this error when try build sdk from rider for project ue5, how can i fix it
0>app.h(320,5): Error : 'INTERNAL_EXPERIMENTAL' is not defined, evaluates to 0 [-Werror,-Wundef]
0>#if INTERNAL_EXPERIMENTAL
0> ^
0>app.h(341,5): Error : 'INTERNAL_EXPERIMENTAL' is not defined, evaluates to 0 [-Werror,-Wundef]
0>#if INTERNAL_EXPERIMENTAL
0> ^
0>app.h(353,5): Error : 'INTERNAL_EXPERIMENTAL' is not defined, evaluates to 0 [-Werror,-Wundef]
0>#if INTERNAL_EXPERIMENTAL
0> ^
0>app.h(382,5): Error : 'INTERNAL_EXPERIMENTAL' is not defined, evaluates to 0 [-Werror,-Wundef]
0>#if INTERNAL_EXPERIMENTAL
0> ^
I found a few problems with this issue:
- I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
- This issue does not seem to follow the issue template. Make sure you provide all the required information.
As a workaround, if you can add a preprocessor definition INTERNAL_EXPERIMENTAL=0, that should fix this.
Those are all lines with
#if INTERNAL_EXPERIMENTAL
All prior uses of INTERNAL_EXPERIMENTAL in that file were:
#ifdef INTERNAL_EXPERIMENTAL
Either:
- a default value needs to be defined and all of the
#ifdefreplaced with#if
-or- - all of the
#if INTERNAL_EXPERIMENTALneed to be replaced with#if defined(INTERNAL_EXPERIMENTAL) && INTERNAL_EXPERIMENTAL