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

Fails to build on linux with gcc-14 #49

Open
Shoegzer opened this issue Jul 29, 2024 · 1 comment
Open

Fails to build on linux with gcc-14 #49

Shoegzer opened this issue Jul 29, 2024 · 1 comment

Comments

@Shoegzer
Copy link

Shoegzer commented Jul 29, 2024

As the title implies, this core fails to build with gcc-14. The following error is generated:

daphne/daphne-1.0-src/vldp2/vldp/vldp_internal.c:852:31: error: implicit declaration of function ‘fileno’ [-Wimplicit-function-declaration]
  852 |                         fstat(fileno(F), &filestats);   // get stats for file to get file length
      |                               ^~~~~~

It builds successfuly with earlier compilers such as gcc-13

@hunterk any thoughts here?

@Shoegzer
Copy link
Author

Update: This seems to be coming from internal changes related to gcc-14, as encountered and discussed here and here.

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