Re: [Cluster-devel] [PATCH 1/3] fsck.gfs2: Fix 'initializer element is not constant' build error

2015-01-28 Thread Bob Peterson
- Original Message - This error occurs when gfs2-utils is compiled with -std options more recent than gnu89: CC fsck_gfs2-main.o main.c:39:38: error: initializer element is not constant struct osi_root dup_blocks = (struct osi_root) { NULL, };

[Cluster-devel] [PATCH 1/3] fsck.gfs2: Fix 'initializer element is not constant' build error

2015-01-27 Thread Andrew Price
This error occurs when gfs2-utils is compiled with -std options more recent than gnu89: CC fsck_gfs2-main.o main.c:39:38: error: initializer element is not constant struct osi_root dup_blocks = (struct osi_root) { NULL, }; ^ main.c:40:35: