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

src/construction.cpp:1167:71: error: invalid use of incomplete type ‘class overmap’ #73095

Closed
l29ah opened this issue Apr 18, 2024 · 1 comment
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility

Comments

@l29ah
Copy link
Contributor

l29ah commented Apr 18, 2024

Describe the bug

src/construction.cpp: In function ‘void complete_construction(Character*)’:
src/construction.cpp:1167:71: error: invalid use of incomplete type ‘class overmap’
 1167 |                             regional_settings settings = g->get_cur_om().get_settings();
      |                                                          ~~~~~~~~~~~~~^~
In file included from src/regional_settings.h:16,
                 from src/mapgen.h:22,
                 from src/mapgendata.h:11,
                 from src/build_reqs.h:10,
                 from src/recipe.h:17,
                 from src/craft_command.h:11,
                 from src/character.h:36,
                 from src/avatar.h:18,
                 from src/construction.cpp:13:
src/omdata.h:37:7: note: forward declaration of ‘class overmap’
   37 | class overmap;
      |       ^~~~~~~

Attach save file

N/A

Steps to reproduce

Compile cdda.

Expected behavior

No compilation errors.

Screenshots

No response

Versions and configuration

6f9c45c

Additional context

No response

@l29ah l29ah added the (S1 - Need confirmation) Report waiting on confirmation of reproducibility label Apr 18, 2024
@RenechCDDA
Copy link
Member

Will be closed by #73093

@l29ah l29ah closed this as completed Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility
Projects
None yet
Development

No branches or pull requests

2 participants