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.