Euphoria
Ticket #11:
unsupported ops
-
Reported by
mattlewis
Sep 09, 2009
Unsupported ops (removed because the were DOS-related) that still exist in some source code, whether it's called or not, prevents translation. For instance, win32lib apps won't translate.
These should probably be turned into NOPs, and if it's encountered on the final pass (after we've deleted everything we can), then we should also generate a warning.
Details
1. Comment by mattlewis
Sep 10, 2009
PIXEL and GET_PIXEL emit a new "deprecated" warning if they survive into the final pass of translation. The are NOPs. Also, TASK_YIELD in a dll translation is not a compiler error, but a NOP.
2. Comment by jeremy
Sep 10, 2009
I wonder if the TASK_YIELD should throw a warning that states tasks are not yet supported an a DLL? I don't think that silently ignoring a valid function is a good thing.
3. Comment by DerekParnell
Sep 10, 2009
I think that it is fine to treat task_yield() as a NOP in DLLs. It is just a matter of updating the task_yield() documentation to say that it has no effect when used inside DLLs.
4. Comment by jeremy
Sep 11, 2009
Information has been added to the manual to this effect, see svn:2798.
5. Comment by jeremy
Sep 11, 2009
I confirmed this ticket. I also removed the ifdef not EUC_DLL wrappers around various places in the standard library.