[perl #35412] [PATCH] remove io_win32.c warning

2 views
Skip to first unread message

Jerry Gay

unread,
May 11, 2005, 1:44:33 PM5/11/05
to bugs-bi...@rt.perl.org
# New Ticket Created by jerry gay
# Please include the string: [perl #35412]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=35412 >


this simple patch removes a build warning in io\io_win32.c:
io\io_win32.c(272) : warning C4550: expression evaluates to a function
which is missing an argument list


with patch applied, all expected tests pass.
~jerry


Index: io/io_win32.c

===================================================================

--- io/io_win32.c (revision 8062)

+++ io/io_win32.c (working copy)

@@ -269,7 +269,6 @@

INTVAL mode;
mode = 0;

- UNUSED(fdopen);
UNUSED(layer);

if (PIO_win32_isatty(fd))

Bernhard Schmalhofer via RT

unread,
May 11, 2005, 2:29:58 PM5/11/05
to perl6-i...@perl.org

> this simple patch removes a build warning in io\io_win32.c:
> io\io_win32.c(272) : warning C4550: expression evaluates to a function
> which is missing an argument list

The patch is applied.

This warning surfaces only because I had inadvertedly enabled
PARROT_NET_DEVEL in io/io_private.h in SVN revision 7974. Luckily no
major harm seemed to have done by that.

The good thing is that the tiny webserver
'./parrot exambles/io/httpd.imc' should work now out of the box. Thanks
to Robert Spiers with a neat Parrot as favicon.

CU, Bernhard

CU, Bernhard

Reply all
Reply to author
Forward
0 new messages