OpenBSD 4.9: strcpy warnings & FORTRAN compiler
I have installed OpenBSD 4.9 (on a Dell Optiplex) to update the hardware for an application written in FORTRAN. I am using the GNU FORTRAN compiler from the packages collection. (g95-4.2.4p5v0.tgz ). Compiling produces warnings about misuse of strcpy(), sprintf() and strcat().
/usr/local/.../libgfortran.so.2.0: warning: strcpy() is almost always misused, please use strlcpy()
and similar for sprintf() and snprintf(), and strcat() and strlcat()
I assume that these warnings come from issues within the FORTRAN compiler, and hence cannot be fixed by changing the FORTRAN code.
Is there a way to stop these warnings from coming up, as they are annoying the owner of the FORTRAN application.
|Thread||Thread Starter||Forum||Replies||Last Post|
|OpenBSD/pf without compiler HOWTO update?||zazen||OpenBSD Installation and Upgrading||6||26th June 2011 07:47 AM|
|BSD licensed C, C++ and Fortran compiler released.||BSDfan666||News||5||14th June 2011 05:03 PM|
|Build Process Warnings||IronForge||OpenBSD Installation and Upgrading||9||22nd January 2010 11:21 AM|
|pkg_chk c++ compiler not available||fenrisW0lf||NetBSD Package System (pkgsrc)||15||30th June 2008 11:48 AM|
|pcc compiler question||ChineseBroccoli||FreeBSD General||1||12th June 2008 12:29 AM|