Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] 0>app.h(341,5): Error : 'INTERNAL_EXPERIMENTAL' is not defined, evaluates to 0 [-Werror,-Wundef] #1601

Open
nguyenvanminhc9nvm opened this issue Jun 5, 2024 · 3 comments

Comments

@nguyenvanminhc9nvm
Copy link

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> ^

@google-oss-bot
Copy link

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.

@jonsimantov
Copy link
Contributor

As a workaround, if you can add a preprocessor definition INTERNAL_EXPERIMENTAL=0, that should fix this.

@paulpv
Copy link

paulpv commented Jul 1, 2024

Those are all lines with

#if INTERNAL_EXPERIMENTAL

All prior uses of INTERNAL_EXPERIMENTAL in that file were:

#ifdef INTERNAL_EXPERIMENTAL

Either:

  1. a default value needs to be defined and all of the #ifdef replaced with #if
    -or-
  2. all of the #if INTERNAL_EXPERIMENTAL need to be replaced with #if defined(INTERNAL_EXPERIMENTAL) && INTERNAL_EXPERIMENTAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants