# New Ticket Created by Will Coleda # Please include the string: [perl #31649] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31649 >
Annotate the declarations with something like PARROT_API Parrot_some_func and define PARROT_API, eg for cl, as #ifdef PARROT_EXPORTS #define PARROT_API __declspec(dllexport) #else #define PARROT_API __declspec(dllimport) #endif and be compiled with PARROT_EXPORTS defined. At least cl will then know to automatically export the symbol, without additional module-definition file (.def).