| Summary: | apache-2.0.54 fails to build with gcc-2.95.3 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Martin Schlemmer (RETIRED) <azarah> |
| Component: | [OLD] Server | Assignee: | Michael Stewart (vericgar) (RETIRED) <vericgar> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | apache-bugs |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | apache-2.0.54-gcc2.patch | ||
|
Description
Martin Schlemmer (RETIRED)
2005-07-23 06:40:04 UTC
Created attachment 64127 [details, diff]
apache-2.0.54-gcc2.patch
Patch to fix said issue.
It looks like I introduced this with my patch to add AddDirectoryIndex and RemoveDirectoryIndex. I'm trying to figure out why changing where index_names is defined matters. Is this just a quirk with gcc 2.95.3, or is my code out of standard in some way, or bad form? (This patch was one of my first tries at something more then a simple "Hello World" in c/c++) OK, I did not check if it might be from a patch, as the damn p3 is slow ;p
Anyhow, gcc2 do not support any declarations that is not at the start of {} or
global .. I think the c99 spec (or whatever) only started allowing this, and
thus the legality of it in gcc3+.
Sorry, I forgot about this bug. It's now been fixed in the SVN repository that our patch tarball is rolled from. I plan on rolling a new tarball before new-style becomes stable (sometime tomorrow). Resolving as fixed. |