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
An error occurs during the compilation of the gdxrrw package on Linux. This issue may be due to stricter rules enforced by the compiler.
rgdx.c: In function ‘checkRgdxList’:
rgdx.c:174:13: error: format not a string literal and no format arguments [-Werror=format-security]
174 | error(fieldErrorMsg);
| ^~~~~~~~~~~~~
rgdx.c:196:13: error: format not a string literal and no format arguments [-Werror=format-security]
196 | error(fieldErrorMsg);
| ^~~~~~~~~~~~~
rgdx.c: In function ‘rgdx’:
rgdx.c:528:14: error: format not a string literal and no format arguments [-Werror=format-security]
528 | error (buf);
| ^~~
rgdx.c:590:13: error: format not a string literal and no format arguments [-Werror=format-security]
590 | error(buf);
| ^~~
rgdx.c:602:15: error: format not a string literal and no format arguments [-Werror=format-security]
602 | error(buf);
| ^~~
cc1: some warnings being treated as errors
Note that gdxrrw is not supported anymore by GAMS. They recommend to move to GAMS TRANSFERT, using the new package: https://github.com/GAMS-dev/transfer-r
I haven't tested it yet and I am not sure if it possible to do a smooth transition in our packages.
We are currently in the process of replacing gdxrrw with gamstransfer, but it is unfortunately not that easy as the output formats of both packages are quite different.
An error occurs during the compilation of the gdxrrw package on Linux. This issue may be due to stricter rules enforced by the compiler.
To resolve this, a few modifications can be made to the package. Please refer to the changes in the rgdx.c file at GAMS-dev/gdxrrw@master...lolow:gdxrrw:master
The text was updated successfully, but these errors were encountered: