Unidata / netcdf-cxx4

Official GitHub repository for netCDF-C++ libraries and utilities.
Other
124 stars 49 forks source link

Vc debug assertions #7

Closed jarlela closed 10 years ago

jarlela commented 10 years ago

The use of &vector[0] to pass a pointer to netcdf-c functions can in several places reference the first element of an empty vector. This will trigger an assertion in debug mode on Visual Studio compiled code. Code which should be valid can therefore not be debugged.