You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[1/111] Building C object utils/CMakeFiles/g2c_compare.dir/g2c_compare.c.obj
[2/111] Building C object utils/CMakeFiles/g2c_degrib2.dir/g2c_degrib2.c.obj
[3/111] Building C object utils/CMakeFiles/g2c_index.dir/g2c_index.c.obj
[4/111] Building C object src/CMakeFiles/g2c_objlib.dir/g2ccsv.c.obj
FAILED: src/CMakeFiles/g2c_objlib.dir/g2ccsv.c.obj
C:\msys64\mingw64\bin\cc.exe -D_LARGEFILE64_SOURCE -IC:/g2c/NCEPLIBS-g2c-2.0.0/build/src -IC:/g2c/NCEPLIBS-g2c-2.0.0/src -g -O3 -std=gnu11 -MD -MT src/CMakeFiles/g2c_objlib.dir/g2ccsv.c.obj -MF src\CMakeFiles\g2c_objlib.dir\g2ccsv.c.obj.d -o src/CMakeFiles/g2c_objlib.dir/g2ccsv.c.obj -c C:/g2c/NCEPLIBS-g2c-2.0.0/src/g2ccsv.c
C:/g2c/NCEPLIBS-g2c-2.0.0/src/g2ccsv.c: In function 'g2c_csv_init':
C:/g2c/NCEPLIBS-g2c-2.0.0/src/g2ccsv.c:222:23: error: implicit declaration of function 'strsep'; did you mean 'strset'? [-Wimplicit-function-declaration]
222 | tmp = strsep(&buf, "\"");
| ^~~~~~
| strset
C:/g2c/NCEPLIBS-g2c-2.0.0/src/g2ccsv.c:222:21: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
222 | tmp = strsep(&buf, "\"");
| ^
C:/g2c/NCEPLIBS-g2c-2.0.0/src/g2ccsv.c:223:21: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
223 | tmp = strsep(&buf, "\"");
| ^
C:/g2c/NCEPLIBS-g2c-2.0.0/src/g2ccsv.c:225:21: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
225 | tmp = strsep(&buf, ",");
| ^
C:/g2c/NCEPLIBS-g2c-2.0.0/src/g2ccsv.c:229:21: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
229 | tmp = strsep(&buf, ",");
| ^
[5/111] Building C object src/CMakeFiles/g2c_objlib.dir/g2ccompare.c.obj
[6/111] Building C object src/CMakeFiles/g2c_objlib.dir/g2cio.c.obj
[7/111] Building C object src/CMakeFiles/g2c_objlib.dir/g2cindex.c.obj
[8/111] Building C object tests/CMakeFiles/tst_g2_create.dir/tst_g2_create.c.obj
[9/111] Building C object tests/CMakeFiles/tst_g2_create.dir/g2c_test_util.c.obj
ninja: build stopped: subcommand failed.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: