Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GNU and Clang are picky with this particular warning that often shows…
… up in downstream applications (MOAB). (#88) A sample warning message is shown below. This can be replicated when instantiating the operator [] of DataArray2D and DataArray3D. ``` Subscript.h:33:8: warning: zero size arrays are an extension [-Wzero-length-array] T ix_[size]; ^~~~ Subscript.h:69:30: note: in instantiation of template class 'index_array<long, 0>' requested here index_array<size_type, Dim> indices_; ^ DataArray3D.h:399:35: note: in instantiation of template class 'Subscript<DataArray3D<int>, 3, 3>' requested here Subscript<DataArray3D<T>, 3, 3> s(*this); ```
- Loading branch information