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

コンパイル時の警告 #32

Open
wistaria opened this issue Jan 21, 2024 · 0 comments
Open

コンパイル時の警告 #32

wistaria opened this issue Jan 21, 2024 · 0 comments

Comments

@wistaria
Copy link
Contributor

Ubuntu Noble (gcc 13.2)でコンパイルすると以下の警告が出ます。無視して大丈夫でしょうか?

In function 'lui_1d_allocate',
inlined from 'read_W90' at /usr/src/stdface-0.5-1/src/Wannier90.c:175:16:
/usr/src/stdface-0.5-1/src/setmemory.c:51:33: warning: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
/usr/include/stdlib.h: In function 'read_W90':
/usr/include/stdlib.h:675:14: note: in a call to allocation function 'calloc' declared here
675 | extern void *calloc (size_t __nmemb, size_t __size)
| ^

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

No branches or pull requests

1 participant