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

Replaced undefined uint with standard type unsigned int #187

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

piercecomerford
Copy link
Contributor

@piercecomerford piercecomerford commented Jun 12, 2024

On both Alma Linux 9.3 and a recent version of Void Linux musl, NEST fails to compile, in particular citing

/home/<user>/src/nest/src/execNEST.cpp:35:1: error: 'uint' does not name a type; did you mean 'int'?
   35 | uint SaveTheDates[tMax] = {0};
      | ^~~~
      | int

which seems to be caused by the codebase implicitly assuming a type uint exists. To my knowledge uint is not a standard type and is only implemented as a typedef for unsigned int by some compilers. With this change, NEST successfully compiles on the above-mentioned systems.

@mszydagis mszydagis merged commit e53e47f into NESTCollaboration:master Jun 13, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants