Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid variable lengths arrays (#368)
* Avoid variable lengths arrays Despite conforming to C99, variable length arrays are not supported by MSVC, and maybe some other relevant compilers. Therefore we hard-code the maximum required space. * Properly set custom_properties_table.num_entries
- Loading branch information
c3c5156
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lstrojny, this merge missed my first commit (4eb3de3), so it still won't build with MSVC, see https://ci.appveyor.com/project/cmb69/php-amqp#L82
c3c5156
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, sorry about that. Should be fixed in
master
now