Im trying to write regression tests for the sscanf function but ran into some problems. First, there were some conflicts with the defines in the headers with my linux ones, but that was fixed simply by defining USE_MSVCRT_PREFIX. Whenever I try to run the test it spews out an error: undefind reference to func_sscanf. Ofcourse there is no export for func_sscanf because it was prefixed to avoid a naming conflict with the unix defines. How do I get this to work? If its not prefixed, then there is a conflict but if it is then it cant find the export.
Im trying to write regression tests for the sscanf function but ran into some problems. First, there were some conflicts with the defines in the headers with my linux ones, but that was fixed simply by defining USE_MSVCRT_PREFIX. Whenever I try to run the test it spews out an error: undefind reference to func_sscanf. Ofcourse there is no export for func_sscanf because it was prefixed to avoid a naming conflict with the unix defines. How do I get this to work? If its not prefixed, then there is a conflict but if it is then it cant find the export.
Sorry, this is my fault, In my test I had START_TEST(scanf) instead of START_TEST(sscanf). It works now.
nog.
"=?iso-8859-1?Q?Gy=F6rgy" == =?iso-8859-1?Q?Gy=F6rgy 'Nog' Jeney?= <iso-8859-1> writes:
>> Im trying to write regression tests for the sscanf function but ran >> into some problems. First, there were some conflicts with the >> defines in the headers with my linux ones, but that was fixed simply >> by defining USE_MSVCRT_PREFIX. Whenever I try to run the test it >> spews out an error: undefind reference to func_sscanf. Ofcourse >> there is no export for func_sscanf because it was prefixed to avoid a >> naming conflict with the unix defines. How do I get this to work? If >> its not prefixed, then there is a conflict but if it is then it cant >> find the export.
=?iso-8859-1?Q?Gy=F6rgy> Sorry, this is my fault, In my test I had =?iso-8859-1?Q?Gy=F6rgy> START_TEST(scanf) instead of =?iso-8859-1?Q?Gy=F6rgy> START_TEST(sscanf). It works now.
Please add the msvcrt test-framework to the wine source tree. And thanks for your findings.
Bye