Hi All,

The "dup" function call in "lib/dup-safer.c" has no
prototype included.  Windows Visual C 6.0 does NOT
implement "dup" but does implement "_dup" as:

        int _dup( int handle );

I've added "#define dup _dup" to "config.h" chain
but Microsoft provides the prototype in "<io.h>"
which is NOT referenced in "lib/dup-safer.c" and
perhaps should be.

I don't know the "m4" stuff and can't provide the
complete solutions.  Suggestions are welcome.

The warning is below and it could be ignored since
the assumed and actual return types are the same.

Best regards,

Conrad Pino

dup-safer.c
h:\conrad\projects\cvs-1.12\lib\dup-safer.c(48) : warning C4013: '_dup' 
undefined; assuming extern returning int



_______________________________________________
Bug-cvs mailing list
Bug-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-cvs

Reply via email to