forked from phusion/passenger
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not use variable sized StreamBMH structs anymore.
This is because declaring multiple variable sized structs in a parent struct is not officially supported by C++ and is a GNU extension: struct foo { union { struct StreamBMH ctx; char space[SBMH_SIZE(10)]; } u1; union { struct StreamBMH ctx; char space[SBMH_SIZE(15)]; } u2; }; The above used to raise a warning in Clang, but not anymore with these changes.
- Loading branch information
1 parent
3f1c6f5
commit bf00f56
Showing
1 changed file
with
20 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters