[Bug 63961] Examples in Developing Modules guide don't compile with clang 4.x+
| Newsgroups | gmane.comp.apache.documentation |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bz.apache.org/bugzilla/show_bug.cgi?id=63961 Rich Bowen <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from Rich Bowen <[email protected]> --- Updated the Developing Modules guide examples to reflect an API change introduced in httpd 2.4.30 (MMN 20120211.70): 1. Added the "flags" field (AP_MODULE_FLAG_NONE) to all module struct initializers — this field was added to the module_struct in 2.4.30 but the modguide examples were not updated at the time. 2. Changed command_rec array sentinels from { NULL } to { } for correct zero-initialization of the full struct (C99 compliance, resolves clang 4.x+ warnings). 7 module struct instances and 3 command_rec sentinels updated. Patched in r1933730 (trunk), r1933731 (2.4). -- You are receiving this mail because: You are the assignee for the bug.