Skip to content

Conversation

@jajik
Copy link

@jajik jajik commented Feb 13, 2025

The latest commit broke compilation with maintainer mode (the warning is treated as an error) incl. some jobs in CI.

https://github.com/apache/httpd/actions/runs/13282453047/job/37083598064

This PR fixes it.

https://github.com/jajik/httpd/actions/runs/13311390743

@gstrauss
Copy link

The C99 specification was released over 25 years ago!
The C11 specification was released over 13 years ago!

Why is Apache still enforcing C89/C90 semantics?

An embedded system with an ancient compiler is probably not going to go using Apache 2.4. It theoretically could use Apache 1.4, but more likely would use a different modern web server with lower resource consumption than Apache 2.4.

@notroj
Copy link
Collaborator

notroj commented Feb 14, 2025

@gstrauss httpd has a very high inertia :) We discussed on dev@ recently that for 2.5.x we could move to a more modern C standard, I'm definitely in favour of it.

@notroj
Copy link
Collaborator

notroj commented Feb 14, 2025

Thanks for the PR @jajik

@asfgit asfgit closed this in 69c4c6b Feb 14, 2025
@jajik jajik deleted the fix-maintainer-mode-compilation branch February 14, 2025 09:24
@icing
Copy link
Contributor

icing commented Feb 14, 2025

Thanks for merging, @notroj !

asfgit pushed a commit that referenced this pull request Jun 4, 2025
Fix variable declaration warning in scoreboard.c

Submitted by: Vladimír Chlup <vchlup redhat.com>
Github: closes #516

Reviewed by: rpluem, jorton, ylavic


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1926108 13f79535-47bb-0310-9956-ffa450edef68
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.

4 participants