Leopold Toetsch <[EMAIL PROTECTED]> writes:
[...]
> PIO_eprintf
> PIO_printf
>
> for printing to stderr/stdout during 1st interpreter construction &
> destruction if something goes wrong. In all other cases we have an
> valid interpreter (or an parent interpreter if any).
This means all the Parrot_warn(NULL,...) in config/gen/platform/ansi.c
are invalid. Ok remove them
Index: config/gen/platform/ansi.c
===================================================================
RCS file: /cvs/public/parrot/config/gen/platform/ansi.c,v
retrieving revision 1.7
diff -u -r1.7 ansi.c
--- config/gen/platform/ansi.c 14 Jul 2003 07:58:20 -0000 1.7
+++ config/gen/platform/ansi.c 31 Jul 2003 19:22:42 -0000
@@ -27,7 +27,6 @@
{
/* unable to provide this level of precision under ANSI-C, so just fall
back to intval time for this. */
- Parrot_warn(NULL, PARROT_WARNINGS_PLATFORM_FLAG, "Parrot_floatval_time not
accurate");
return (FLOATVAL)Parrot_intval_time();
}
@@ -39,7 +38,6 @@
void
Parrot_sleep(unsigned int seconds)
{
- Parrot_warn(NULL, PARROT_WARNINGS_PLATFORM_FLAG, "Parrot_sleep not implemented");
return;
}
@@ -92,7 +90,6 @@
void *
Parrot_dlopen(const char *filename)
{
- Parrot_warn(NULL, PARROT_WARNINGS_PLATFORM_FLAG, "Parrot_dlopen not implemented");
return NULL;
}
@@ -115,7 +112,6 @@
void *
Parrot_dlsym(void *handle, const char *symbol)
{
- Parrot_warn(NULL, PARROT_WARNINGS_PLATFORM_FLAG, "Parrot_dlsym not implemented");
return NULL;
}
@@ -127,7 +123,6 @@
int
Parrot_dlclose(void *handle)
{
- Parrot_warn(NULL, PARROT_WARNINGS_PLATFORM_FLAG, "Parrot_dlclose not
implemented");
return 0;
}