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

bld/makdep.c: add a return type to main() #22

Merged
merged 1 commit into from
Mar 2, 2025
Merged

Conversation

harshula
Copy link
Collaborator

@harshula harshula commented Mar 2, 2025

Fixes build failure with [email protected]

cc -o makdep /tmp/root/spack-stage/spack-stage-cice5-git.2023.10.19_access-om2-q26rhh7gzs7pxowlbybq555kzxij6qf2/spack-src/bld/makdep.c
/tmp/root/spack-stage/spack-stage-cice5-git.2023.10.19_access-om2-q26rhh7gzs7pxowlbybq555kzxij6qf2/spack-src/bld/makdep.c:54:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
   54 | main (int argc, char **argv)
      | ^
      | int
1 error generated.
exit 2

@harshula harshula requested a review from anton-seaice March 2, 2025 12:17
@harshula harshula self-assigned this Mar 2, 2025
Copy link
Collaborator

@anton-seaice anton-seaice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @harshula

@harshula harshula merged commit 52cbe6f into master Mar 2, 2025
4 checks passed
@harshula harshula deleted the fix-for-oneapi branch March 2, 2025 22:30
harshula added a commit that referenced this pull request Mar 3, 2025
* Needed to support oneapi 2025 compiler.
harshula added a commit that referenced this pull request Mar 3, 2025
* Needed to support oneapi 2025 compiler.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants