Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the compilation under gcc 4.9.0.
gcc interpretes C99's compound literals more strictly by invalid the compound literal on implicit to pointer cast (because of automatic storage duration, 6.5.2.5.6 in C99 standard draft). This fixes the issue by not using compound literals at all.
- Loading branch information